The code editor is giving me a red line under function
script.Parent.Touched.connect:function(plr)
end)
It says "Expected identifier, got 'fucntion'"
The code editor is giving me a red line under function
script.Parent.Touched.connect:function(plr)
end)
It says "Expected identifier, got 'fucntion'"
You have it the wrong way around
method:connect then function
script.Parent.Touched:connect(function(plr)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you.