Par2ival
|
  |
| Joined: 31 Jan 2015 |
| Total Posts: 119 |
|
|
| 28 May 2015 04:19 PM |
I'm currently using a script where I put the tool inside of the part, then the script inside of the tool and it gives you the tool when you touch the part. What I need though, is a giving script where when you touch the part, it gives you the tool (in this case, a retextured model I made) without the tool already existing in the game. Thanks in advance, please don't tell me to drink bleach.
I am an alt. |
|
|
| Report Abuse |
|
|
Par2ival
|
  |
| Joined: 31 Jan 2015 |
| Total Posts: 119 |
|
| |
|
Par2ival
|
  |
| Joined: 31 Jan 2015 |
| Total Posts: 119 |
|
| |
|
|
| 28 May 2015 04:43 PM |
-- Made by killaman333
function touch(hit) local NameOfTool = "Basic tool" local tool = script.Parent:FindFirstChild(NameOfTool) local player = game.Players:FindFirstChild(hit.Parent.Name) local Clone = tool:Clone() local time = 5 -- how long before the giver works again Clone.Parent = player.Backpack for i, time, 0, -1 do script.Diasabled = true print(i) wait(1) end script.Disabled = false end script.Parent.Touched:connect(touch) |
|
|
| Report Abuse |
|
|
Par2ival
|
  |
| Joined: 31 Jan 2015 |
| Total Posts: 119 |
|
|
| 28 May 2015 04:47 PM |
Thanks dude, I normally get like 3 death threats before a real reply.
|
|
|
| Report Abuse |
|
|
|
| 28 May 2015 04:49 PM |
| i can relate, people are so mean in forums... |
|
|
| Report Abuse |
|
|
Par2ival
|
  |
| Joined: 31 Jan 2015 |
| Total Posts: 119 |
|
|
| 28 May 2015 04:57 PM |
Party me, I can't figure out how to use the script. I tried my model's name and ID, but it doesn't work. (Thanks again, btw)
|
|
|
| Report Abuse |
|
|