Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

im making an obby called THE PAINLESS OBBY but check points are broken can you help? (read desc!)

So I was watching AlvinBlox and did the checkpoint script the Same Way! what is wrong!

AlvinBloxs video link - https://www.youtube.com/watch?v=Aa83VYif6VA time stamp 7:06

local checkpoints = game.Workspace:WaitForChild("Checkpoints"):GetChildren()

for i, checkpoints in pairs(checkpoints) do
	
	checkpoint.TeamColor = game.Teams:FindFirstChild(checkpoint.Name).Teamcolor
	
end

4 comments

0

Try using Teamcolor with an upper case "c". (TeamColor)

0

It did not work. There are lines under the checkponts

0

What color?

0

Any errors?

1 answer

You didn't specify what to check in, what I'm assuming is a folder called checkpoints. You would need to do: for i, checkpoints in pairs(checkpoints:GetChildren()) or :GetDescendents() depending on what you want.

This discussion is preserved as it was. New answers, comments, and votes are closed.