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!
  1. attachment4 = Instance.new('Attachment',player.Character['Right Leg'])
  2. attachment5 = Instance.new('Attachment',player.Character['Right Leg'])
  3. attachment6 = Instance.new('Attachment',player.Character['Right Leg'])
  4. attachment7 = Instance.new('Attachment',player.Character['Right Leg'])
  5. attachment5.Position = Vector3.new(-0.5, -0.7, -0.5)
  6. attachment6.Position = Vector3.new(-0.5, -0.7, 0.5)
  7. attachment7.Position = Vector3.new(0.5, -1, -0.5)
  8. trail2 = Instance.new('Trail',player.Character['Right Leg'])
  9. trail3 = Instance.new('Trail',player.Character['Right Leg'])
  10. trail2.Attachment1 = attachment5
  11. trail3.Attachment1 = attachment7
  12. trail2.Lifetime = 1.5
  13. trail3.MaxLength = 0
  14. trail3.MinLength = 0
  15. --#----------#--
  16. attachment0 = Instance.new('Attachment',player.Character['Left Leg'])
  17. attachment1 = Instance.new('Attachment',player.Character['Left Leg'])
  18. attachment2 = Instance.new('Attachment',player.Character['Left Leg'])
  19. attachment3 = Instance.new('Attachment',player.Character['Left Leg'])
  20. attachment1.Position = Vector3.new(-0.5, -0.7, -0.5)
  21. attachment2.Position = Vector3.new(-0.5, -0.7, 0.5)
  22. attachment3.Position = Vector3.new(0.5, -1, -0.5)
  23. trail0 = Instance.new('Trail',player.Character['Left Leg'])
  24. trail1 = Instance.new('Trail',player.Character['Left Leg'])
  25. trail0.Attachment1 = attachment1
  26. trail1.Attachment1 = attachment3
  27. trail0.Lifetime = 1.5
  28. trail1.MaxLength = 0
  29. trail1.MinLength = 0
  30. --#--------------------#--
  31. ff = Instance.new('ForceField', player.Character)
  32. wait()
  33. game.Workspace.CaptainFiliNox.Humanoid.Health = 100
RAW Paste Data
Roblox mansion modelRoblox
Nov 7th, 2016
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
Mansion
  1. --| WaitForChild |--
  2. -- Waits for parent.child to exist, then returns it
  3. assert(parent, 'ERROR: WaitForChild: parent is nil')
  4. while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
  5. end
  6. -----------------
  7. -----------------
  8. local GamePassService = Game:GetService('GamePassService')
  9. local PlayersService = Game:GetService('Players')
  10. local InsertService = Game:GetService('InsertService')
  11. local LightingService = Game:GetService('Lighting') --TODO: Use new data store service once that exists
  12. local GamePassIdObject = WaitForChild(script, 'GamePassId')
  13. local ToolAssetsToLoad = WaitForChild(script, 'ToolAssetsToLoad')
  14. local AdminTools = LightingService:FindFirstChild('AdminTools')
  15. -----------------
  16. -----------------
  17. -- Makes copies of all the admin tools and puts them in target
  18. for _, tool in pairs(AdminTools:GetChildren()) do
  19. toolClone.Parent = target
  20. end
  21. -- When a player with the game pass joins, give them the admin tools
  22. if GamePassService:PlayerHasPass(player, GamePassIdObject.Value) then
  23. local starterGear = WaitForChild(player, 'StarterGear')
  24. if player.Character then -- They've already loaded and won't get their StarterGear until next spawn
  25. local backpack = WaitForChild(player, 'Backpack')
  26. end
  27. end
  28. --------------------
  29. --------------------
  30. -- Create AdminTools if it doesn't exist
  31. AdminTools = Instance.new('Model')
  32. -- Load all of the assets in ToolAssetsToLoad and put them in AdminTools
  33. for _, intObject in pairs(ToolAssetsToLoad:GetChildren()) do
  34. if intObject and intObject:IsA('IntValue') and intObject.Value then
  35. local assetModel = InsertService:LoadAsset(intObject.Value)
  36. local asset = assetModel:GetChildren()[1]
  37. asset.Parent = AdminTools
  38. end
  39. end
  40. AdminTools.Parent = LightingService
RAW Paste Data