toolname = "LinkedSword"
Tool = true
game.Players.PlayerAdded:connect(function(newPlayer)
newPlayer.CharacterAdded:connect(function(char)
script.Parent.ClickDetector.MouseClick:connect(function()
if Tool == false then return end
wait()
Tool = false
Tool = game.Lighting:findFirstChild(toolname):remove()
Tool.Parent = game.Players:findFirstChild(char.Name).Backpack
wait()
Tool = true
end)
end)
end)
COMMUNITY QUESTION
Why isn't this taking away the weapon?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
