Roblox Boga Boga Hack 2019 Free Robux Gift Card Generator. Script boku no roblox money script. Game card codes roblox game freezing roblox grand crossing mp.
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
RAW Paste Data