Advertisement
WingedDash

Roblox Purge Script

Nov 24th, 2018 (edited)
8,541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.14 KB | None | 0 0
  1.         -- Made By WingedDash --
  2. -- This Is A Simple Purge Script I Made For My Game "Moonlight Clicker" :)
  3. -- All You Need To Do Is Past This Script Into The Developer Console Using The Key "F9" and Clicking Server Then In The Command Executer Just Past This Script In!
  4. -- Enjoy!
  5.  
  6. --local message = "[INSERT ANY REMOTE HERE]"
  7. local yes = 20
  8. for index = 1, yes do
  9.     wait(1)
  10.     if yes <= 1 then
  11.         --message:FireAllClients("The Purge Has Started....")
  12.         break
  13.     end
  14.     yes = yes - 1
  15.     --message:FireAllClients("The Purge Starts In " .. yes .. " Seconds!")
  16.     print(yes)
  17. end
  18.  
  19. local sound = Instance.new("Sound")
  20. sound.Parent = workspace
  21. sound.SoundId = "rbxassetid://232554097"
  22. sound:Play()
  23. wait(70)
  24. sound:Stop()
  25. sound.SoundId = "rbxassetid://2531124390"
  26. sound:Play()
  27. sound.Looped = true
  28.  
  29. local load = game:GetService("InsertService"):LoadAsset(97885508):Clone()
  30.  
  31.  
  32. load.Parent = workspace
  33. load.Name = "347389252398u853"
  34. local gun = workspace["347389252398u853"]:GetChildren()
  35. for index = 1, #gun do
  36.     gun[index].Parent = workspace
  37.     gun[index].Name = "44444444444444444444444932003495932"
  38.     gun = gun[index]
  39.     break
  40. end
  41. for index = 1, #game.Players:GetChildren() do
  42.     local player = game.Players:GetChildren()[index]
  43.     if workspace[player.Name] then
  44.         gun:Clone().Parent = workspace[player.Name]
  45.     end
  46. end
  47. load:Destroy()
  48. --message:FireAllClients("Purge Is Ending In 100 Seconds")
  49. yes = 100
  50. while wait(1) do
  51.     yes = yes - 1
  52.     if yes <= 1 then
  53.         break
  54.     end
  55.     for index = 1, #game.Players:GetChildren() do
  56.         local player = game.Players:GetChildren()[index]
  57.         local character = workspace:FindFirstChild(player.Name)
  58.         if character then
  59.             character = workspace[player.Name]
  60.             if character:FindFirstChild("Humanoid") then
  61.                 if not character:FindFirstChild("44444444444444444444444932003495932") then
  62.                     gun:Clone().Parent = workspace[player.Name]
  63.                 end
  64.             end
  65.         end
  66.     end
  67. end
  68. sound:Destroy()
  69. gun:Destroy()
  70. for index = 1, #game.Players:GetChildren() do
  71.     local player = game.Players:GetChildren()[index]
  72.     if workspace[player.Name]:FindFirstChild("44444444444444444444444932003495932") then
  73.         workspace[player.Name].Humanoid.Health = 0
  74.     end
  75. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement