pls dont delete my question :( I used this;
script.Parent.Touched:Connect(function(h) if h.Parent:FindFirstChild("Humanoid") then game.Workspace.Gravity = 005 end end)
I want a timer that 20 seconds later gravity becomes normal. Can someone help, please?
Hello!
This is quite simple to do, all you are required to do is add a wait(20)
function to your gravity change script. After this time is over we can make the gravity go back to normal like before!
local Part = script.Parent Part.Touched:Connect(function(Hit) if Hit.Parent:FindFirstChild("Humanoid") then workspace.Gravity /= 2 -- divides the deafult gravity by 2 so that it gives a slow fall effect wait(20) workspace.Gravity = 196.2 end end)
Hope this helps!
Closed as Not Constructive by Dovydas1118 and DinozCreates
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?