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
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.