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)