So my script sends you up but is there a way for it to send you all directions according to your camera angle?
game.Workspace:WaitForChild(playerName).HumanoidRootPart.Velocity += Vector3.new(0,15,0)
So my script sends you up but is there a way for it to send you all directions according to your camera angle?
game.Workspace:WaitForChild(playerName).HumanoidRootPart.Velocity += Vector3.new(0,15,0)
use the direction of where the camera is looking.
local camera = workspace.CurrentCamera
game.Workspace:WaitForChild(playerName).HumanoidRootPart.Velocity += -camera.CFrame.LookVector*15