how can i make a trampoline

Back
K1N
Join Date:
Posts:
Jul 2023
97
3 months ago | 17 • By K1N

if you know can you respond with the steps and code thanks



runnin away from border patrol rn cant talk

onlyroids
Join Date:
Posts:
Feb 2024
3
2 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)