Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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
0
Try using Teamcolor with an upper case "c". (TeamColor) youtubemasterWOW 2741 — 4y
0
It did not work. There are lines under the checkponts JuzeyPlayz -83 — 4y
0
What color? youtubemasterWOW 2741 — 4y
0
Any errors? youtubemasterWOW 2741 — 4y

1 answer

Log in to vote
0
Answered by
d1_rek 46
4 years ago

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.

Ad

Answer this question