Documentation and licence are both included in the script.
Included in this thread :
Reset Tool.bsmodel (1.7 KB) -A working and ready to be used reset tool.
Reset Tool.lua (1.54 KB) -A copy of the script.
Reset Tool.txt (1.54 KB) -A copy of the script.
Reset Tool Place.buildism (3.75 KB) -A place containing a reset tool.
This script was tested and is working perfectly.
If you like the script, please click this link.
You can also go here and leave a comment.
Please avoid to post here if you can PM me instead. I want this thread to contain useful content, not useless junk.
[lua]waittime = 0 --How much seconds between when he clicks and when he dies?
--[[Documentation of this script :
Reset Tool Script by [Guest/Aroblix].
Installation :
Just put the script in a tool and it wil be ready to work.
Settings :
The variable waittime defines how much seconds there are between the moment when the player clicks and when he dies.
If the variable is set to 0, the player will die instantly after clicking. This is the default value.
Extra : if you set the value to false or to nil, the player will also die instantly after clicking.
Open source FTW!
]]
--[['Licence' of this script : -Please read this whole licence. It is not long and it is important.
Do not republish this, one version is enough. There is no need to have 50 times the exact same script everywhere on the site.
This script is open source and must remain open source. That means everyone is free to have it, use it and edit it.
Any model created using this or a part of this script must be open source and contain this licence. They also have to include the documentation.
That means you can't obfuscate or sell anything made using one or many part of this script. Parts of this script include :
1.The documentation.
2.The licence.
3.The code.
Not respecting this 'licence' won't necessary end in anything bad done to you, but it's better not to take risks.
]]
link(script.Parent.MouseDown, function()
if not waittime then
sleep(waittime)
end
script.Parent.Parent.Parent.Character.Health = 0
end)
--Scripted by Guest using Notepad++.[/lua]
Included in this thread :
Reset Tool.bsmodel (1.7 KB) -A working and ready to be used reset tool.
Reset Tool.lua (1.54 KB) -A copy of the script.
Reset Tool.txt (1.54 KB) -A copy of the script.
Reset Tool Place.buildism (3.75 KB) -A place containing a reset tool.
This script was tested and is working perfectly.
If you like the script, please click this link.
You can also go here and leave a comment.
Please avoid to post here if you can PM me instead. I want this thread to contain useful content, not useless junk.
[lua]waittime = 0 --How much seconds between when he clicks and when he dies?
--[[Documentation of this script :
Reset Tool Script by [Guest/Aroblix].
Installation :
Just put the script in a tool and it wil be ready to work.
Settings :
The variable waittime defines how much seconds there are between the moment when the player clicks and when he dies.
If the variable is set to 0, the player will die instantly after clicking. This is the default value.
Extra : if you set the value to false or to nil, the player will also die instantly after clicking.
Open source FTW!
]]
--[['Licence' of this script : -Please read this whole licence. It is not long and it is important.
Do not republish this, one version is enough. There is no need to have 50 times the exact same script everywhere on the site.
This script is open source and must remain open source. That means everyone is free to have it, use it and edit it.
Any model created using this or a part of this script must be open source and contain this licence. They also have to include the documentation.
That means you can't obfuscate or sell anything made using one or many part of this script. Parts of this script include :
1.The documentation.
2.The licence.
3.The code.
Not respecting this 'licence' won't necessary end in anything bad done to you, but it's better not to take risks.
]]
link(script.Parent.MouseDown, function()
if not waittime then
sleep(waittime)
end
script.Parent.Parent.Parent.Character.Health = 0
end)
--Scripted by Guest using Notepad++.[/lua]