local UserInputService = game:GetService("UserInputService")
local Player = game.Players.LocalPlayer
local Cooldown = false
local Cdtime = 4
UserInputService.InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.Q then
if Cooldown then return end
spawn(function()
Cooldown = true
wait(Cdtime)
Cooldown = false
end)
local Root = Player.Character:WaitForChild("HumanoidRootPart")
Root.Velocity = Root.Velocity + Vector3.new(80,0,0)
end
end)
I do that but only works if I face the Z-Axis and messes up. So my question is how do I make the player move right a bit because the way I did it is weird and I can't think of any other way. Any help is appreciated thanks a lot

1 comment
Have you tried using BodyVelocity?