script.Parent:connect.Touched(onTouched)
I have the function onTouched but the end, won't work. Red lines.. Why?
script.Parent:connect.Touched(onTouched)
I have the function onTouched but the end, won't work. Red lines.. Why?
Man the errors in this are.. oh man..
script.Parent.Touched:connect(onTouched)
-- ALWAYS the Event FIRST THEN connect
Oh and just in case, this is how you do this:
script.Parent.Touched:connect(function()
-- Your code here
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
OHHHHHH, well I was close, thank you!