This is the script. I used my name as an example. The script is in the tool
game.Players.PlayerAdded:Connect(function(player)
if player.Name == "Justingamer700" then
script.Parent:Destroy()
end
end)
This is the script. I used my name as an example. The script is in the tool
game.Players.PlayerAdded:Connect(function(player)
if player.Name == "Justingamer700" then
script.Parent:Destroy()
end
end)
Works, tested it on studio. Not the most desirable way of removing certain players tools but this way you can keep your script inside your tool.
wait()
local player = script.Parent.Parent.Parent
if player.Name == "Justingamer700" then
script.Parent:Destroy()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Where is this script located at?
In the tool