5 | script.Parent.Touched:connect(touch) |
Also I don't think you should be learning scripting through a tutorial. Tutorials make you memorize functions and stuff, making it hard. But if you learn by looking at scripts in free models and changing them to fit your need, you'll learn scripting actually probably in the same time if you did a tutorial, because like I said, a tutorial is hard to follow and memorize, but what I did (learning by looking at scripts in free models and changing them to fit your need), it's the same amount of time, and it's easy!