quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 02:32 PM |
I want to be the only person who spawns with a tool in the starterpack. Any help? |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
| |
|
|
| 02 Aug 2015 03:37 PM |
Simplest way is to add these lines to the top of the tool script:
local plr = game.Players.LocalPlayer; -- assuming it's a LocalScript if plr.Name ~= "yourNameInThisCase" then script:Destroy(); end |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 03:37 PM |
| okay thanks testing it out now |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 03:40 PM |
But how do I select which tool? Its a freemodel flamethrower im throwing together for a diasaster hotel rp |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2015 03:44 PM |
| Whatever tool you want to be VIP just place those two lines at the top of the script. |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 03:46 PM |
| not vip, just me to spawn in with it and me only |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2015 03:47 PM |
| Exactly... Lol. Same sheet different toilet. |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 03:48 PM |
| ill just use a vip door this is impossiblu |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2015 03:49 PM |
| -Facepalms.- It isn't that hard... |
|
|
| Report Abuse |
|
|
| |
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 03:53 PM |
nevermind
Just give me the entire script so that I spawn in I'll even pay you /or tell me how to use the script xd |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 02 Aug 2015 03:54 PM |
game.Players.PlayerAdded:connect(function(plr) local yourTool = game.ServerStorage:WaitForChild("NameOfYourToolYouWant") -- put the tool in serverstorage if plr.userId == game.CreatorId then yourTool:Clone().Parent = plr.StarterGear end end)
put this script in serverstorage |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
|
| 02 Aug 2015 04:03 PM |
| I tested this in my game and it doesnt seem to be working when I join, I don't get the tool. |
|
|
| Report Abuse |
|
|
quamisido
|
  |
| Joined: 18 Apr 2014 |
| Total Posts: 8599 |
|
| |
|