|
| 08 Jul 2015 12:13 PM |
I am bad at scripting ;(
I want to make a sword that heals the person everytime he kills someone. A normal linked sword, but just a script inserted into it. How to make that script? Please help ;c |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jul 2015 12:14 PM |
thesame whaa why didn't you ask me
i might be able to get ahold of one from my friend
»»» ...what? i wasn't suppose to say that?? \|/ add 0 posts |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jul 2015 12:15 PM |
I can make you one right now really easily.
~Swordron's wifey~ |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 12:15 PM |
ok if i get it ill send it to you
if not i wont
watching dragon ball z rn
»»» ...what? i wasn't suppose to say that?? \|/ add 0 posts |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jul 2015 12:20 PM |
Okai give me two minutes. I'll PM you the script to put into the sword. Tell me tho. How much do you want their health to go up by?
~Swordron's wifey~ |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 12:20 PM |
| Like it fully heals them. Basically it heals them after you kill someone. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 12:23 PM |
So you want their health at 100% after every kill?
~Swordron's wifey~ |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| 08 Jul 2015 12:35 PM |
Okay put this inside a script and put the script inside your sword
---------------------------------------------------------------------------------------- --Script for what happens when the thing that hits it dies. debug = false --k? ;) function onTouch(hit) if debug == false then if hit.Humanoid and hit.BodyColors then if hit.Parent.Humanoid.Health <= 0 then --spark enter in what u want to do when ded here debug = true script.Parent.Parent.Humanoid.Health = 100 wait(3) debug = false --through ehre. This is the end, myself. Thanks. end end end end
script.Parent.Handle.Touched:connect(onTouch) ----------------------------------------------------------------------------------------
~Swordron's wifey~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jul 2015 12:38 PM |
Let me know if there's any bugs cuz u know it may always bug somewhere
~Swordron's wifey~ |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 12:39 PM |
| Yeah, gonna test it now. I put it in a local script. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 12:41 PM |
Can someone mesh me one like texture of venom shank but red?
Also, have it go to your side when putting it down? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 08 Jul 2015 12:47 PM |
| post the kill function from the sword script so i can edit it real quick |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 01:16 PM |
Not a local script ya n0b
~Swordron's wifey~ |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 01:33 PM |
Then what script I am so bad at this |
|
|
| Report Abuse |
|
|