how can i make a trampoline
9 months ago
• By onlyroids
Assuming you're putting the script inside of the trampoline part it'd be something like this:
local trampoline = script.Parent
local debounce = false
trampoline.Touched:Connect(function(hit)
if debounce or not hit:IsA("Player") then
return
end
debounce = true
hit:Jump()
end)