Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

attempt to index field 'Parent' (a nil value) - What...?

Alright, so I'm trying to make a cannon that sprays debris everywhere, all of it works but one thing. For some reason the script in the debris part that damages a player upon touching (script.Parent.Touched:connect(function()) the player. To look at the code and other stuff that might be causing it, the place is here.

1 answer

Oh never mind, I figured it out. The fact that it was removing itself instantly made it do that.

This discussion is preserved as it was. New answers, comments, and votes are closed.