RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a block that works as a trampoline"
-- server script for trampoline part local part = script.Parent local bounceForce = 50 local function onTouched(hit) local character = hit.Parent local humanoid = character:FindFirstChildWhichIsA("Humanoid") if humanoid then humanoid.JumpPower = bounceForce wait(0.1) humanoid.Jump = true wait(0.1) humanoid.JumpPower = 50 end end part.Touched:Connect(onTouched)