|
| 07 Oct 2013 03:18 PM |
I need a script that can give someone a certain tool from the lighting for having a certain gamepass.
I can't find any working ones in free models.
Join Japan! |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2013 03:23 PM |
Here is the script I use for RAID
wait(2) --Keep at 2 for safety. ------EDIT BELOW
gpid = 131216946 --Game Pass ID tools = {"VSword","JetPack"} --Put VIP tools in Lighting, then put their exact names here.
------ DON'T EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING
GPS = Game:GetService("GamePassService") function respawned(char) player = game.Players:FindFirstChild(char.Name) print("Respawned") if char:FindFirstChild("Head") ~= nil then print("It's a Player!") if GPS:PlayerHasPass(player, gpid) then print("Has GPID") for i = 1,#tools do game.Lighting:FindFirstChild(tools[i]):Clone().Parent = player.Backpack end else print("No GPID") end end end game.Workspace.ChildAdded:connect(respawned)
|
|
|
| Report Abuse |
|
|
Vexax
|
  |
| Joined: 25 Aug 2012 |
| Total Posts: 18783 |
|
|
| 07 Oct 2013 03:24 PM |
| http://www.roblox.com/Game-Pass-VIP-Recieve-Items-On-Spawn-item?id=93045041 |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2013 03:24 PM |
Here is the script I use for RAID
wait(2) --Keep at 2 for safety. ------EDIT BELOW --NOT STOLEN FROM FACEBOOKROBLOXCOOL OR SOMETHING MEDE BY THASOLDIER
gpid = 131216946 --Game Pass ID tools = {"VSword","JetPack"} --Put VIP tools in Lighting, then put their exact names here.
------ DON'T EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING
GPS = Game:GetService("GamePassService") function respawned(char) player = game.Players:FindFirstChild(char.Name) print("Respawned") if char:FindFirstChild("Head") ~= nil then print("It's a Player!") if GPS:PlayerHasPass(player, gpid) then print("Has GPID") for i = 1,#tools do game.Lighting:FindFirstChild(tools[i]):Clone().Parent = player.Backpack end else print("No GPID") end end end game.Workspace.ChildAdded:connect(respawned)
(ง'̀-'́)ง com fite me |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Oct 2013 03:26 PM |
U PTSTOED JUST B4 ME I DIDNT STELE IT
(ง'̀-'́)ง com fite me |
|
|
| Report Abuse |
|
|
| |
|
Celestus
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 14873 |
|
|
| 07 Oct 2013 03:28 PM |
| u ok deceptional? sounds like u tripping |
|
|
| Report Abuse |
|
|