mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 08:38 AM |
Removes tools:
game.Players.PlayerAdded:connect(function(player) c = player.StarterGear:GetChildren() for i = 1, #c do if (c[i].ClassName == "Tool") or (c[i].ClassName == "HopperBin") then local Tools = Instance.new("Model") Tools.Name = player.Name Tools.Parent = game.Lighting a = c[i]:Clone() a.Parent = Tools c[i]:Destroy() end end d = player.Backpack:GetChildren() for i = 1, #d do if (d[i].ClassName == "Tool") or (d[i].ClassName == "HopperBin") then d[i]:Destroy() end end end)
Gain Tool from Brick:
function onTouch(hit) person = game.Players:FindFirstChild(hit.Parent.Name) if (person ~= nil) then Tools = game.Lighting:FindFirstChild(person.Name) if (Tools ~= nil) then c = Tools:GetChildren() for i = 1, #c do if person.Backpack:FindFirstChild(c[i].Name) == nil then a = c[i]:Clone() a.Parent = person.Backpack end end end end end script.Parent.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 08:55 AM |
Gain Tool from Brick:
function onTouch(hit) person = game.Players:FindFirstChild(hit.Parent.Name) if (person ~= nil) then if person.Backpack:FindFirstChild("HasTools") == nil then local Val = Instance.new("ObjectValue") Val.Name = HasTools Val.Parent = person.Backpack Tools = game.Lighting:FindFirstChild(person.Name) if (Tools ~= nil) then c = Tools:GetChildren() for i = 1, #c do a = c[i]:Clone() a.Parent = person.Backpack end end end end end script.Parent.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 08:56 AM |
| We really do not care. If they're for a specific person then use a private message, not the forums... |
|
|
| Report Abuse |
|
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:05 AM |
| The guy asked me to put them on the forums for him as copying them from Private Messages makes it go into one big line so keep your Random unwanted outbursts to yourself. |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 06 Oct 2012 09:06 AM |
| Do this in OT, idiotic OP. |
|
|
| Report Abuse |
|
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:10 AM |
function onTouch(hit) person = game.Players:FindFirstChild(hit.Parent.Name) if (person ~= nil) then if person.Backpack:FindFirstChild("HasTools") == nil then local Val = Instance.new("ObjectValue") Val.Name = "HasTools" Val.Parent = person.Backpack Tools = game.Lighting:FindFirstChild(person.Name) if (Tools ~= nil) then c = Tools:GetChildren() for i = 1, #c do a = c[i]:Clone() a.Parent = person.Backpack end end end end end script.Parent.Touched:connect(onTouch)
Try this one UM4DBRO. |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 09:10 AM |
| Please shut up, the dude who is doing this for me is an epic scripter, who is kindly helping me with scripts that many of you can't do. |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 06 Oct 2012 09:11 AM |
@OP and xXx Get out of SH, Both of you are idiots, Anyone on this forum can script better than you two nimrods combined. |
|
|
| Report Abuse |
|
|
| |
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:16 AM |
@mamaguy, Really, both of us are idiots? You have no clue of the range of either one of our intelligence. And it just so happens, no, Not Anybody can script better then us two combined. SH is for help with Scripting which is what I'm doing with UM4DBRO, I'm helping him. So why don't you keep your fat nose out of other peoples business, it has nothing to do with you and will never have anything to do with you.
-~ I don't care what people think ~-
|
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 09:17 AM |
BECAUSE HELPING IS DEFINITELY GIVING SCRIPTS TO HIM, RIGHT
nope.avi |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 06 Oct 2012 09:18 AM |
@Mark, I'm in 6th grade and currently learning about sophomore geometry, and 95% of the people here are smarter than me so, you two, are idiots, not get out. |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
| |
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:23 AM |
So what if you're in 6th Grade, Age has nothing to do with how smart you are. There are Japanese children half our ages with twice the intelligence. I'm British and I'm in Year 11. (15 yrs old, 16 in a month when I quit). And sorry to dissapoint you but I'm not an idiot. You cannot call somebody an idiot unless you've seen them do something idiotic, which helping somebody is not. So keep your smart mouth comments to yourself until you can come up with an eligable arguement.
|
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 09:23 AM |
| And the flame war continues......Just please next time send it to him in a different forum or by different means. |
|
|
| Report Abuse |
|
|
| |
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 06 Oct 2012 09:25 AM |
@Mark, SH is not the place for spamming idiots, Like Robot said, Giving someone scripts is not helping them, that is doing what they are too lazy to do, so you're helping the spammer, therefore, you are a spammer, and spammers are idiots. |
|
|
| Report Abuse |
|
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:26 AM |
| I would send it to him in a different way but he's quite new and doesn't really any other way and he doesn't like it in P.Ms because it Pastes into one long line so this was the only option that he could use. |
|
|
| Report Abuse |
|
|
| |
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:28 AM |
@mamaguy, I'm doing what he's incapable of doing because he's new. I myself hate spammers and disagree with you calling me one as it is incorrect. Now how about we ALL stop being stupid and just leave this to disappear into the depths of the other unread posts? |
|
|
| Report Abuse |
|
|
aiden500
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 3996 |
|
|
| 06 Oct 2012 09:35 AM |
| What Happend To the NO requests Rule? |
|
|
| Report Abuse |
|
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:41 AM |
| He never requested, I just offered to help because I like helping people. |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 09:41 AM |
| that is not helping him you dimwit |
|
|
| Report Abuse |
|
|
aiden500
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 3996 |
|
|
| 06 Oct 2012 09:45 AM |
| Helping him is giving him advice You Just gave him the whole thing after he requested it. |
|
|
| Report Abuse |
|
|
mark298
|
  |
| Joined: 24 Oct 2008 |
| Total Posts: 1264 |
|
|
| 06 Oct 2012 09:46 AM |
| Whatever, I can't be bothered arguing with people who don't understand the context of the word Help. |
|
|
| Report Abuse |
|
|