Advertisement
GS1029

raining tacos

Jun 15th, 2016
980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script! has STEALED SCRIPT!!!
  2.  
  3. local S = Instance.new("Sound", script)
  4. S.SoundId = "http://www.roblox.com/asset/?ID=221883053"
  5. S.Looped = true
  6.  
  7. script:WaitForChild("Sound"):Play()
  8.  
  9. c = workspace.CurrentCamera
  10. color = Color3.new(0,0,0)
  11. player = game.Players.LocalPlayer
  12. enabled = true
  13.  
  14. game.Lighting.FogEnd = "750"
  15. game.Lighting.FogStart = "0"
  16.  
  17. Spawn(function ()
  18.     -- Sky Color Interpolation Stuff
  19.     while true do
  20.         local o = color
  21.         local n = BrickColor.random().Color
  22.         for i = 1,100 do
  23.             local o,n = Vector3.new(o.r,o.g,o.b),Vector3.new(n.r,n.g,n.b)
  24.             local e = o:lerp(n,i*.01)
  25.             color = Color3.new(e.X,e.Y,e.Z)
  26.             wait()
  27.         end
  28.     end
  29. end)
  30.  
  31. game.Lighting.FogColor = color
  32. game.Lighting.Changed:connect(function ()
  33.     game.Lighting.FogColor = color
  34. end)
  35.  
  36. Spawn(function ()
  37.     local update = workspace:WaitForChild("Update")
  38.     update:WaitForChild("Mesh").Changed:connect(function ()
  39.         script.Mesh.TextureId = "http://www.roblox.com/asset/?ID=430343379"
  40.     end)
  41.     update:WaitForChild("Sound").Changed:connect(function ()
  42.         enabled = false
  43.         script.Sound:Stop()
  44.         local m = Instance.new("Message",player.PlayerGui)
  45.         m.Text = "THE RULES HAVE CHANGED >:)"
  46.         wait(120)
  47.         script.Sound.SoundId = "http://www.roblox.com/asset/?ID="..update.Sound.Value
  48.         script.Sound:Play()
  49.         m:Destroy()
  50.         enabled = true
  51.     end)
  52. end)
  53.  
  54. while wait() do
  55.     local char = player.Character
  56.     if char and enabled then
  57.         if char:findFirstChild("Humanoid") then
  58.             char.Humanoid.Name = "humanoid" -- Prevent them from resetting their character.
  59.         end
  60.         local location = game.Players.LocalPlayer.Character:GetModelCFrame()
  61.         local taco = Instance.new("Part")
  62.         taco.CanCollide = true
  63.         taco.Size = Vector3.new(math.random()*60,math.random()*60,math.random()*60)
  64.         taco.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  65.         taco.BrickColor = BrickColor.new("Bright green")
  66.         local mesh = script:WaitForChild("Mesh"):clone()
  67.         mesh.Parent = taco
  68.         mesh.Scale = taco.Size
  69.         taco.CFrame = location * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
  70.         taco.Parent = c
  71.         game:GetService("Debris"):AddItem(taco,4)
  72.         game.Lighting.FogColor = color
  73.     end
  74. end
  75.  
  76. if game.Players.NumPlayers >= 1 then -- if player has 2 then copy script and paste into backpack!
  77.     for i,v in pairs(game.Players:GetChildren()) do
  78.         local SC = script:Clone()
  79.         SC.Parent = v.Backpack
  80.     end
  81. end
  82.  
  83. game.Players.PlayerAdded:connect(function(Plr)
  84.     local SC = script:Clone()
  85.     SC.Parent = Plr.Backpack
  86. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement