Run it
Copy the script and paste it into your executor.
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local rootPart = char:WaitForChild("HumanoidRootPart")
local tool = Instance.new("Tool")
tool.RequiresHandle = false
tool.Parent = plr.Backpack
tool.Name = "Dodge"
tool.CanBeDropped = false
local DODGE_POWER =
DODGE_DURATION =
COOLDOWN =
canDodge =
()
dodgeGui = .()
dodgeGui.Size = .(, , , )
dodgeGui.AlwaysOnTop =
dodgeGui.StudsOffset = .(, , )
image = .()
image.Size = .(, , , )
image.Image =
image.BackgroundTransparency =
image.Parent = dodgeGui
dodgeGui.Parent = rootPart
startTime = .()
duration =
.(()
.() - startTime < duration
progress = (.() - startTime) / duration
image.ImageTransparency = progress
dodgeGui.StudsOffset = .(, + (progress * ), )
.()
dodgeGui:()
)()
()
canDodge humanoid humanoid.Health <= rootPart
canDodge =
lookVector = rootPart.CFrame.LookVector
lookVector = .(lookVector.X, , lookVector.Z).Unit
leftVector = .(-lookVector.Z, , lookVector.X)
currentVelocity = rootPart.AssemblyLinearVelocity
rootPart.AssemblyLinearVelocity = .(
currentVelocity.X + (leftVector.X * DODGE_POWER),
currentVelocity.Y,
currentVelocity.Z + (leftVector.Z * DODGE_POWER)
)
()
.(COOLDOWN, ()
canDodge =
)
tool.Activated:(MovePlayerToLeft)
plr.CharacterAdded:((newChar)
char = newChar
humanoid = newChar:()
rootPart = newChar:()
)useless script

Universal