Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make it so that if i go inside a part, the gravity be slower?

Asked by 3 years ago

Yup, as the title said: "How do i make it so that if i go inside a part, the gravity be slower for only the players inside it?"

Please help me! Also please tell me if the script is a local script

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

function onTouch(hit)

if hit.Parent:FindFirstChild("Humanoid") then

game.Workspace.Gravity = 100 --If it Causes an Error Try ("100") And You Can Change The 100

Print("It Works!")

hit.Parent:FindFirstChild("Humanoid").JumpPower = 60 --Just For EXTRA POWA

end

end

script.Parent.Touched:connect(onTouch)


--Follow My Account and If It Does Not Work Then Here Watch That https://www.youtube.com/watch?v=GjnLH_4lI-w

Ad

Answer this question