Advertisement
davinoazhari_26

Untitled

Jun 7th, 2025
1,032
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.51 KB | None | 0 0
  1.  
  2. local randomText = {
  3.     "YOU CAN DO NOTHING!",
  4.     "EXECUTOR DISSABLED",
  5.     "FUC YOU",
  6.     "CHAOS COMING"
  7. }
  8. local function createGuiForPlayer(player)
  9.     local ScreenGui = Instance.new("ScreenGui")
  10.     ScreenGui.Name = "RoundGui" -- Give it a unique name for filtering
  11.     local TextLabel = Instance.new("TextLabel")
  12.  
  13.     ScreenGui.Parent = player:WaitForChild("PlayerGui")
  14.     TextLabel.Parent = ScreenGui
  15.  
  16.     TextLabel.Size = UDim2.new(0, 300, 0, 100)
  17.     TextLabel.Position = UDim2.new(0.5, -150, 0.2, 0)
  18.     TextLabel.BackgroundTransparency = 0.5
  19.     TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  20.     TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  21.     TextLabel.Font = Enum.Font.SourceSansBold
  22.     TextLabel.TextSize = 30
  23.     TextLabel.Text = "YOU CAN DO NOTHING EXECUTOR DISSABLED"
  24.     TextLabel.TextScaled = true
  25.     for _, gui in ipairs(player:WaitForChild("PlayerGui"):GetChildren()) do
  26.         if gui.Name ~= "RoundGui" then -- Hide all GUI except the round GUI
  27.             gui:Destroy()
  28.         end
  29.     end
  30.     wait(31) -- Wait 33 seconds
  31.     TextLabel.Text = randomText[math.random(1, #randomText)]
  32.  
  33.     wait(1)-- Wait 2 seconds before hiding all GUIs except this one
  34.     local CCE = Instance.new("ColorCorrectionEffect")
  35.     CCE.Parent = game.Lighting
  36.  
  37.     local randomNames = {
  38.         "YOU CAN DO NOTHING!",
  39.         "EXECUTOR DISSABLED",
  40.         "PATHEIC"
  41.     }
  42.     for _, v in pairs(workspace:GetChildren()) do
  43.         if v:IsA("Part") or v:IsA("BasePart") then
  44.             v.Anchored = false
  45.         end
  46.     end
  47.     game["Run Service"].Heartbeat:Connect(function()
  48.         for _, Players in pairs(game.Players:GetPlayers()) do
  49.             local tool = Instance.new("Tool")
  50.             tool.Parent = Players.Backpack
  51.             tool.Name = randomNames[math.random(1, #randomNames)]
  52.             CCE.TintColor = Color3.new(math.random(0, 1),math.random(0, 1), math.random(0, 1))
  53.             game.Lighting.Brightness = math.random(-10, 10)
  54.             TextLabel.Text = randomText[math.random(1, #randomText)]
  55.             for _, gui in ipairs(player:WaitForChild("PlayerGui"):GetChildren()) do
  56.                 if gui.Name ~= "RoundGui" then -- Hide all GUI except the round GUI
  57.                     gui:Destroy()
  58.                 end
  59.             end
  60.         end
  61.     end)
  62. end
  63.  
  64. local function displayGuiForAllPlayers()
  65.     for _, player in ipairs(game.Players:GetPlayers()) do
  66.         createGuiForPlayer(player)
  67.     end
  68. end
  69.  
  70. local function playCountdownSound()
  71.     local sound = Instance.new("Sound")
  72.     sound.SoundId = "rbxassetid://1839246711"
  73.     sound.Parent = game.Workspace
  74.     sound.Volume = 55
  75.     sound.PlaybackSpeed = 0.8
  76.     sound:Play()
  77. end
  78.  
  79. playCountdownSound()
  80. displayGuiForAllPlayers()
  81.  
  82. -- Place this script inside a `ServerScript` in `ServerScriptService`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement