You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want player not to jump high like that in the video
-
What is the issue? Video as you can see it jumps very high. Jump Power is the normal value.
-
What solutions have you tried so far? I dont know whats wrong soo yeah
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local plr = game.Players.LocalPlayer
local char = plr.Character
local Humanoid = char:WaitForChild("Humanoid")
Humanoid.Jumping:Connect(function ()
script.Parent.Enabled = true
end)
Humanoid.StateChanged:Connect(function (old,new)
if new == Enum.HumanoidStateType.Landed then
script.Parent.Enabled = false
end
end)
while task.wait() do
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.lookAt(game.Players.LocalPlayer.Character.PrimaryPart.Position ,mouse.Hit.Position)
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.