0 views0 copies0 likes
Spring Jump Pad with Per-Player Cooldown
Universal script
Copy it, then test it in your own Studio place.
Script code
15 lines · 0.6 KBlocal Players = game:GetService("Players")local pad = workspace:WaitForChild("SpringPad")local last = {}local LAUNCH = 58pad.Touched:Connect(function(hit) local character = hit:FindFirstAncestorOfClass("Model") local player = character and Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") if not player or not root then return end local now = os.clock() if last[player] and now - last[player] < 0.8 then return end last[player] = now root:ApplyImpulse(Vector3.new(0, root.AssemblyMass * LAUNCH, 0))end)-- …open Get script for the full sourceAbout this script
Place an anchored SpringPad in Workspace under a landing area. Contact with a character adds an upward impulse scaled to their assembly mass, producing a consistent boost for avatars of different sizes. The short per-player cooldown prevents one jump from stacking because multiple body parts touch the pad. Adjust LAUNCH for your level and test how ceiling height affects the landing.
Log in to leave a comment.
No comments yet
Be the first to share your thoughts!
Comments
Share what works, ask questions, or report an issue.