Weapon = game.Workspace.Lighting.Musket
script.Parent.MouseClick:connect(function(PlayerClicked)
Weapon:clone().Parent = Player.Backpack
script.Parent.
end <==
end
script.Parent.MouseClick:connect
--Currently under ClickDetector (should I ungroup it w/ the ClickDetector or keep it with it?
This script is currently in a "prop" weapon that was placed so that when a player clicked it, the tool itself would be cloned into the person's backpack. Tell me where the error is but in studio in the "end" where the arrow is pointing, it says '' expected near 'end'.... So this means?

3 comments
The second "end" is showing an error. It says " ')' expected (to close'('at line 2) near 'end'"
I fixed that with the edit. The current code should be correct.
Thank you very much!