Reset Tool
#1
Put this script in a tool. Clicking while having this tool selected will kill the player that is using the tool.

Code:
link(script.Parent.MouseDown, function()
script.Parent.Parent.Parent.Character.Health = 0
end)


Attached Files
.bsmodel   Reset Tool.bsmodel (Size: 424 bytes / Downloads: 31)
Reply
#2
Looks redundant, couldn't it just be this?

Code:
player = script.Parent.Parent.Parent
link(script.Parent.MouseDown, function()
player.Character.Health = 0
end)
Reply
#3
I forgot to remove the player = script.Parent.Parent.Parent.
I edited my post.

Making a rocket tool for fun. =P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)