Advertisement
OnePunchMan

Server Status

Jun 11th, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local hint = Instance.new('Hint', workspace) -- Insert a new hint in the Workspace.
  2. hint.Text = "Server status: Good" -- Set the text of the hint to "Hello World!".
  3. wait(10)
  4. hint:Destroy() -- Remove the hint after 5 seconds.
  5. local hint = Instance.new('Hint', workspace) -- Insert a new hint in the Workspace.
  6. hint.Text = "Server status: Fine" -- Set the text of the hint to "Hello World!".
  7. wait(12)
  8. hint:Destroy() -- Remove the hint after 5 seconds.
  9. local hint = Instance.new('Hint', workspace) -- Insert a new hint in the Workspace.
  10. hint.Text = "Server status: Bad" -- Set the text of the hint to "Hello World!".
  11. wait(10)
  12. hint:Destroy() -- Remove the hint after 5 seconds.
  13. local hint = Instance.new('Hint', workspace) -- Insert a new hint in the Workspace.
  14. hint.Text = "Server status: REALLY BAD." -- Set the text of the hint to "Hello World!".
  15. wait(5)
  16. hint:Destroy() -- Remove the hint after 5 seconds.
  17. Lighting = game["Lighting"]
  18. Lighting.Ambient = Color3.new(255, 0, 0)
  19.  
  20. local sound = Instance.new("Sound")
  21. sound.SoundId = "rbxassetid://141279377"
  22. sound.Parent = game.Workspace
  23. sound.Looped=true
  24. sound:Play()
  25. sound.Volume=10
  26. sound.PlaybackSpeed=5
  27. local hint = Instance.new('Hint', workspace) -- Insert a new hint in the Workspace.
  28. hint.Text = "ERROR: SERVER IS UNSTABLE! SHUT DOWN ACTIVATED!!!!!!!!" -- Set the text of the hint to "Hello World!".
  29. wait(5)
  30. hint:Destroy() -- Remove the hint after 10 seconds.
  31.  
  32. local time = 5
  33. local h = Instance.new("Hint")
  34. h.Parent = game.Workspace
  35. h.Text = ""..time.." UNTILL SERVER SHUT DOWN!"
  36. for i = time, 1, -1 do
  37. wait(1)
  38. h.Text = ""..i.." UNTILL SERVER SHUT DOWN"
  39. end
  40. wait(1)
  41. h.Text = "SHUTTING DOWN SERVER"
  42. wait(3)
  43.  
  44. hint:remove()
  45. for i, v in next, game:GetService"Players":GetPlayers() do
  46.  
  47. v:Kick("This game has shut down")
  48.  
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement