Advertisement
BrazilMoon

LOOKS LIKE IT'S SWEEPING TIME [ROBLOX]

Jun 18th, 2018
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.54 KB | None | 0 0
  1. function sandbox(var,func)
  2.     local env = getfenv(func)
  3.     local newenv = setmetatable({},{
  4.         __index = function(self,k)
  5.             if k=="script" then
  6.                 return var
  7.             else
  8.                 return env[k]
  9.             end
  10.         end,
  11.     })
  12.     setfenv(func,newenv)
  13.     return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. local chil = workspace:GetChildren()
  18. for i,v in pairs(chil) do
  19.     if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  20.         v:Destroy()
  21.     end
  22. end
  23. SpawnLocation0 = Instance.new("SpawnLocation")
  24. SpawnLocation0.Name = "GOTTA SWEEP SWEEP SWEEP"
  25. SpawnLocation0.Parent = mas
  26. SpawnLocation0.Transparency = 1
  27. SpawnLocation0.Anchored = true
  28. SpawnLocation0.Size = Vector3.new(999, 0.0500000007, 999)
  29. SpawnLocation0.CFrame = CFrame.new(22492596, 286.5, -8, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  30. SpawnLocation0.BottomSurface = Enum.SurfaceType.Smooth
  31. SpawnLocation0.TopSurface = Enum.SurfaceType.Smooth
  32. SpawnLocation0.Duration = -10
  33. SpawnLocation0.Position = Vector3.new(22492596, 286.5, -8)
  34. for i,v in pairs(mas:GetChildren()) do
  35.     v.Parent = workspace
  36.     pcall(function() v:MakeJoints() end)
  37. end
  38. mas:Destroy()
  39. for i,v in pairs(cors) do
  40.     spawn(function()
  41.         pcall(v)
  42.     end)
  43. end
  44.  
  45. wait(2)
  46.  
  47. local sound = Instance.new("Sound")
  48.  
  49. sound.Name = "Sound"
  50. sound.SoundId = "http://www.roblox.com/asset/?id=1952275029"
  51. sound.Volume = 10
  52. sound.Pitch = 1
  53. sound.Looped = true
  54. sound.archivable = false
  55.  
  56. sound.Parent = game.Workspace
  57.  
  58. wait(0)
  59.  
  60. sound:play()
  61.  
  62. while true do
  63.     wait(0.001)
  64.     c = script:Clone()
  65.     c.Parent = game.Lighting
  66.     s = Instance.new("Sky")
  67.     s.Name = "Flareon_"
  68.     s.SkyboxBk = "http://www.roblox.com/asset/?id=1922777712"
  69.     s.SkyboxDn = "http://www.roblox.com/asset/?id=1922777712"
  70.     s.SkyboxFt = "http://www.roblox.com/asset/?id=1922777712"
  71.     s.SkyboxLf = "http://www.roblox.com/asset/?id=1922777712"
  72.     s.SkyboxRt = "http://www.roblox.com/asset/?id=1922777712"
  73.     s.SkyboxUp = "http://www.roblox.com/asset/?id=1922777712"
  74.     s.Parent = game.Lighting
  75.     wait(2)
  76.     c = script:Clone()
  77.     c.Parent = game.Lighting
  78.     s = Instance.new("Sky")
  79.     s.Name = "Mob"
  80.     s.SkyboxBk = "http://www.roblox.com/asset/?id=id=1922777712"
  81.     s.SkyboxDn = "http://www.roblox.com/asset/?id=id=1922777712"
  82.     s.SkyboxFt = "http://www.roblox.com/asset/?id=id=1922777712"
  83.     s.SkyboxLf = "http://www.roblox.com/asset/?id=id=1922777712"
  84.     s.SkyboxRt = "http://www.roblox.com/asset/?id=id=1922777712"
  85.     s.SkyboxUp = "http://www.roblox.com/asset/?id=id=1922777712"
  86.     s.Parent = game.Lighting
  87. end
  88. -- Note this is a destructive script.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement