Guest User

[Lua] Shut Down (Ear Rape)

a guest
Sep 7th, 2017
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.30 KB | None | 0 0
  1. --wat up oringinal maded by StopBullyingMe2.
  2.  
  3. head = char.head
  4. end
  5. wait(5) -- Wait 5 seconds after running just in case you accidentally run it and want to stop it.
  6. local msg = Instance.new("Message",game.Workspace) -- Make the message and put it somewhere that they can see it
  7. msg.Text = "This server is about to shut down. Please save your scripts now." -- Tell them to save, because the shutdown is about to happen
  8. wait(2)
  9. msg.Text = "This server will shut down in 5 seconds."
  10. wait(1)
  11. msg.Text = "This server will shut down in 4 seconds."
  12. wait(1)
  13. msg.Text = "This server will shut down in 3 seconds."
  14. wait(1)
  15. msg.Text = "This server will shut down in 2 seconds."
  16. wait(1)
  17. msg.Text = "This server will shut down in 1 second."
  18. wait(1)
  19. msg.Text = "Shutdown initiating..."
  20. wait(3)
  21. msg.Text = "Pls die!"
  22. wait(1)
  23. for _,v in ipairs(game.Players) do -- For every player that is in the game...
  24.     v:Kick("This server has shut down.")
  25. wait(2)
  26. sound = instance.new("Sound", head)
  27. sound.SoundId = "rbxassetid://452228881"
  28. sound.Volume = 500
  29. sound:Play()
  30. sound.Looped = true
  31. plr.Chatted:connect(function(message)
  32.             if message:sub(1,4) == "Play" then
  33.             sound:Stop()
  34.                 sound.SoundId = "http://www.roblox.com/asset/?id=452228881"..message:sub(6)
  35.     sound:Play()
  36.     end
  37. end)
Advertisement
Add Comment
Please, Sign In to add comment