- How To Get A Free Game Pass On Roblox 2017 Download
- How To Get A Free Game Pass On Roblox 2017 Game
- How To Get A Free Game Pass On Roblox 2017 Robux
Aug 31st, 2017
Get free and unused robux codes online. Check out roblox code 2016 2017. Battle fight war card all gear allowed beach swiming pool trade hangout obby tycoon cart ride into name that character quiz noob guest zombie plant attack defense 1337 build to survive natural.
Never
How To Get A Free Game Pass On Roblox 2017 Download
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- local service=game:GetService('GamePassService')
- game.Players.PlayerAdded:connect(function(player)
- if service:PlayerHasPass(player,gamepass.Value) then
- local tools = game.ReplicatedStorage:WaitForChild('Tools')
- if v:isA('Tool') then
- v:Clone().Parent = player:WaitForChild('Backpack')
- v:Clone().Parent = player:WaitForChild('StarterGear')
- end
- end)
Nov 7th, 2016
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- --| WaitForChild |--
- -- Waits for parent.child to exist, then returns it
- assert(parent, 'ERROR: WaitForChild: parent is nil')
- while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
- end
- -----------------
- -----------------
- local GamePassService = Game:GetService('GamePassService')
- local PlayersService = Game:GetService('Players')
- local InsertService = Game:GetService('InsertService')
- local LightingService = Game:GetService('Lighting') --TODO: Use new data store service once that exists
- local GamePassIdObject = WaitForChild(script, 'GamePassId')
- local ToolAssetsToLoad = WaitForChild(script, 'ToolAssetsToLoad')
- local AdminTools = LightingService:FindFirstChild('AdminTools')
- -----------------
- -----------------
- -- Makes copies of all the admin tools and puts them in target
- for _, tool in pairs(AdminTools:GetChildren()) do
- toolClone.Parent = target
- end
- -- When a player with the game pass joins, give them the admin tools
- if GamePassService:PlayerHasPass(player, GamePassIdObject.Value) then
- local starterGear = WaitForChild(player, 'StarterGear')
- if player.Character then -- They've already loaded and won't get their StarterGear until next spawn
- local backpack = WaitForChild(player, 'Backpack')
- end
- end
- --------------------
- --------------------
- -- Create AdminTools if it doesn't exist
- AdminTools = Instance.new('Model')
- -- Load all of the assets in ToolAssetsToLoad and put them in AdminTools
- for _, intObject in pairs(ToolAssetsToLoad:GetChildren()) do
- if intObject and intObject:IsA('IntValue') and intObject.Value then
- local assetModel = InsertService:LoadAsset(intObject.Value)
- local asset = assetModel:GetChildren()[1]
- asset.Parent = AdminTools
- end
- end
- AdminTools.Parent = LightingService
How To Get A Free Game Pass On Roblox 2017 Game
RAW Paste Data