Bounce pads not working

Hi, new to scripting I was following a tutorial on how to make a bounce pad, I have no clue how to de bug local scripts. I can’t get the bounce pads to work…

The bounce pads are tagged using the tag editor plugin, also there is nothing in the output, nothing is underlined blue in the script which is why I am confused.

1 Like

I’m not sure what you mean when you are saying “debugging”. Do you mean it triggers several times when the player touches it once?

It does not work at all. nothing happens

I don’t have any experience using the tag editor plugin, but I think you could just go through all of the parts with the tag, and if they are touched apply a force to the humanoidrootpart?

ill try with humanoid root part and see,

Humanoid root part did not work.

The video I was following if that helps:
How to make RoBuilder's Bouncepad | Roblox Studio - YouTube

Are you getting any errors on the Output at all?

0 errors, nothing at all…

That is why I can’t figure it out, thought dev forum might help

Try doing this?

print("This should run")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CollectionService = game:GetService("CollectionService")
local localPlayer = game.Players.LocalPlayer

local boing = ReplicatedStorage:WaitForChild("BOING")
local JUMP_FORCE = 1500

for _, pad in pairs (CollectionService:GetTagged("BouncePad")) do

	local bottom = pad:WaitForChild("bottom")
	local spring = bottom:WaitForChild("SpringConstraint")
	local hitbox = pad:WaitForChild("Hitbox")
		local humanoid = otherPart.Parent:FindFirstChildWhichIsA("Humanoid")
		if humanoid and not pad:GetAttribute("isTouched") and otherPart.Parent.Name == localPlayer.Name then
            print("Found someone that didn't touch the bouncy bouncy")

			spring.FreeLength = SPRING_LENGTH
			spring.FreeLength = 0.1
1 Like

At first nothing printed. I created a new local scripted and pasted the script it to and this happen

this should ran printed
pad also printed
and I also got this

Infinite yield possible on 'Workspace.Checkpoints:WaitForChild("bottom")

I checked spellings nothing to do with that.

also just checked, the model is the only thing tagged so that’s not the problem

Wait Pad printed out as checkpoints I think I might tagged check points my mistake

Yeah I was gonna say that

Try putting the Pad just in the workspace alone

I untagged check points it now works, Thanks a lot :slight_smile: