I've attempted to make a sort of spin jump dash but it will not spin if the player has Shiftlock turned on. Any ideas on how to fix this issue?
local Player = game.Players.LocalPlayer local Character = Player.Character function ok() local direction=Character.HumanoidRootPart.CFrame.lookVector local vv=Instance.new("BodyVelocity") vv.P=8000 vv.maxForce=Vector3.new(math.huge,math.huge,math.huge) vv.Parent=Character.HumanoidRootPart vv.velocity=Vector3.new(0,10,0)+direction*45 local rv=Instance.new("BodyAngularVelocity") rv.AngularVelocity=Vector3.new(0,20,0) rv.Parent=Character.Torso rv.MaxTorque=Vector3.new(math.huge,math.huge,math.huge) rv.P=8000 wait(.3) rv:Destroy() vv:Destroy() end wait(2.5) ok()
Disable shiftlock ... ?
EDIT:
Probably the fact that shiftlock over-rides the users camera direction, making their character face it. Just a guess on why.