I am trying to make a bounce pad but when touching the part it doesn't do anything
local db = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") and db == false then
db = true
hit:ApplyImpulse(Vector3.new(0, hit:GetMass() * 2500, 0))
wait(0.5)
db = false
end
end)

3 comments
Does it still not work if the impulse is very high? For example 100,000?
no
I have an answer, let me work on it.