Advertisement
ERROR_CODE

.ANTIPIRACY

Jun 15th, 2023 (edited)
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.06 KB | None | 0 0
  1. local co = Instance.new("ColorCorrectionEffect")
  2.   co.Parent = game.Lighting
  3.   co.Saturation = math.random(0,10000)
  4.   co.TintColor = Color3.fromRGB(255, 0, 0)
  5. local plr = game.Players.LocalPlayer
  6. local gui = Instance.new("ScreenGui")
  7. gui.Parent = plr.PlayerGui
  8. gui.ResetOnSpawn = false
  9. local piracy = Instance.new("TextLabel")
  10. piracy.Parent = gui
  11. piracy.BackgroundTransparency = 1
  12. piracy.Size = UDim2.new(1.125, 0, 0.125, 0)
  13. piracy.Position = UDim2.new(0, -50, 0.5,-255)
  14. piracy.TextXAlignment = Enum.TextXAlignment.Center
  15. piracy.TextScaled = true
  16. piracy.Text = "BAD WORD DETECTED!"
  17. piracy.TextColor3 = Color3.new(0, 0, 0)
  18. piracy.Font = Enum.Font.Code
  19. local jumpscareSound = Instance.new("Sound", workspace)
  20. jumpscareSound.Name = "JumpscareSound"
  21. jumpscareSound.Volume = 999
  22. jumpscareSound.Pitch = 1
  23. jumpscareSound.SoundId = "rbxassetid://8280193916"
  24. jumpscareSound.Looped = true
  25. local jumpscareGUI = Instance.new("ScreenGui", nil)
  26. jumpscareGUI.Name = "Jumpscare"
  27. local image = Instance.new("ImageLabel", jumpscareGUI)
  28. image.Name = "JumpscareImage"
  29. image.BackgroundColor3 = Color3.new(0, 0, 0)
  30. image.BorderColor3 = Color3.new(255, 255, 255)
  31. image.BorderSizePixel = 0
  32. image.Size = UDim2.new(1, 0, 1, 0)
  33. image.Image = "http://www.roblox.com/asset/?id=1119705746"
  34. image.Active = true
  35.  
  36. for i, c in pairs(game.Players:GetChildren()) do
  37.  local jumpscareClone = jumpscareGUI:Clone()
  38.  jumpscareClone.Parent = c.PlayerGui
  39. end
  40. jumpscareSound:Play()
  41. wait(5)
  42. jumpscareSound:Destroy()
  43. for i, c in pairs(game.Players:GetChildren()) do
  44.  c.PlayerGui.Jumpscare:Destroy()
  45. game.Players.LocalPlayer:Kick("I will teach you to speak correctly>:(")
  46. wait(0.5)
  47. while true do
  48.  
  49. sounds = {}
  50. warn("piracy")
  51.  
  52. function getSounds(loc)
  53. if loc:IsA("Sound") then
  54. table.insert(sounds,loc)
  55. end
  56. for _,obj in pairs(loc:GetChildren()) do
  57. getSounds(obj)
  58. end
  59. end
  60.  
  61. getSounds(game)
  62.  
  63. game.DescendantAdded:connect(function(obj)
  64. if obj:IsA("Sound") then
  65. table.insert(sounds,obj)
  66. end
  67. end)
  68.  
  69. while true do
  70. for _,sound in pairs(sounds) do
  71. pcall(function()
  72. sound:Play()
  73. end)
  74. end
  75. end
  76. end
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement