I have a script that you can dig(im making a game like treasure simulator) and the question is ....is it just me or is something wrong with this script.error???? I added this script into a part..to say when u click part it removes.
script.Parent.MouseButton1Click:connect(function(player) script.Parent:Destroy() end)
When you awnser please just fix my code and dont add extra lines..this is all i truely need.
Is my code right or wrong because this guy named Lando64000 keeps saying that my code is wrong.....wait do i need to replace MouseButton1Click with something else...HELP!! I really want to proove him wrong