when i click play it says "Touched is not a valid member of Model" can you help me
local checkpoint1 = game.Workspace.StartFinish
local checkpoint2 = game.Workspace.Checkpoint1
local checkpoint3 = game.Workspace.Checkpoint2
local checkpoint4 = game.Workspace.Checkpoint3
function checkpoint1hit()
print("Checkpoint1 was hit!")
end
checkpoint1.Touched:connect(checkpoint1hit)

8 comments
Is the object of "StartFinish" a part or model?
its a part
its is acutualy a model
Well, you can use a touched event on a model, it only works on a part.
ok thx
So, make a part in "StartFinish" called "Main" and after "StartFinish" on line 1, add ".Main" after.
Thx it worked answer the question so i can confirm the answer
just type something it dont matter