BUILDING A $1,000,000 MANSION IN ROBLOX - Thanks for watchingHelp me reach 1,700,000 subscribers! Click here to subscribe! BUILDING A $1,000,000 MANSION IN ROBLOX - Thanks for watchingHelp me reach 1,700,000 subscribers! Click here to subscribe!
Apr 30th, 2018
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- attachment4 = Instance.new('Attachment',player.Character['Right Leg'])
- attachment5 = Instance.new('Attachment',player.Character['Right Leg'])
- attachment6 = Instance.new('Attachment',player.Character['Right Leg'])
- attachment7 = Instance.new('Attachment',player.Character['Right Leg'])
- attachment5.Position = Vector3.new(-0.5, -0.7, -0.5)
- attachment6.Position = Vector3.new(-0.5, -0.7, 0.5)
- attachment7.Position = Vector3.new(0.5, -1, -0.5)
- trail2 = Instance.new('Trail',player.Character['Right Leg'])
- trail3 = Instance.new('Trail',player.Character['Right Leg'])
- trail2.Attachment1 = attachment5
- trail3.Attachment1 = attachment7
- trail2.Lifetime = 1.5
- trail3.MaxLength = 0
- trail3.MinLength = 0
- --#----------#--
- attachment0 = Instance.new('Attachment',player.Character['Left Leg'])
- attachment1 = Instance.new('Attachment',player.Character['Left Leg'])
- attachment2 = Instance.new('Attachment',player.Character['Left Leg'])
- attachment3 = Instance.new('Attachment',player.Character['Left Leg'])
- attachment1.Position = Vector3.new(-0.5, -0.7, -0.5)
- attachment2.Position = Vector3.new(-0.5, -0.7, 0.5)
- attachment3.Position = Vector3.new(0.5, -1, -0.5)
- trail0 = Instance.new('Trail',player.Character['Left Leg'])
- trail1 = Instance.new('Trail',player.Character['Left Leg'])
- trail0.Attachment1 = attachment1
- trail1.Attachment1 = attachment3
- trail0.Lifetime = 1.5
- trail1.MaxLength = 0
- trail1.MinLength = 0
- --#--------------------#--
- ff = Instance.new('ForceField', player.Character)
- wait()
- game.Workspace.CaptainFiliNox.Humanoid.Health = 100
RAW Paste Data
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