iiJosephCats205

Chuck E Cheese Server Destroyer

Aug 5th, 2021
1,211
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By iiSharkBus
  2. wait(3)
  3.  
  4. function createMessage(text,dut)
  5.     local msg = Instance.new("Message",workspace)
  6.     msg.Text = text
  7.     game.Debris:AddItem(msg,dut)
  8. end
  9.  
  10. function createHint(text,dut)
  11.     local hint = Instance.new("Hint",workspace)
  12.     hint.Text = text
  13.     game.Debris:AddItem(hint,dut)
  14. end
  15.  
  16. local music = Instance.new("Sound",game.SoundService)
  17. music.SoundId = "rbxassetid://1478888298"
  18. music.Volume = 4.5
  19. music:Play()
  20. local image = "rbxassetid://1353290341"
  21.  
  22. for i = 10,1,-1 do
  23.     createHint("Chuck E' Cheese Will Come In: "..i.."",1)
  24.     wait(1)
  25. end
  26.  
  27. Instance.new("DistortionSoundEffect",music).Level = 1
  28. local sky = Instance.new("Sky",game.Lighting)
  29. sky.SkyboxBk, sky.SkyboxDn, sky.SkyboxFt, sky.SkyboxLf, sky.SkyboxRt, sky.SkyboxUp = image,image,image,image,image,image
  30.  
  31. while true do
  32.     createMessage("GET CHUCK E' CHEESED",0.5)
  33.     local top = workspace:GetChildren()
  34.     local bottom = workspace:GetChildren()
  35.     local back = workspace:GetChildren()
  36.     local left = workspace:GetChildren()
  37.     local right = workspace:GetChildren()
  38.     local front = workspace:GetChildren()
  39.     for i,v in pairs(top) do
  40.         if v:IsA("Part") then
  41.             local d = Instance.new("Decal",v)
  42.             v.Decal.Face = "Top"
  43.             v.Decal.Texture = image
  44.             v.Anchored = true      
  45.         end
  46.     end
  47.  
  48.     for i,v in pairs(bottom) do
  49.         if v:IsA("Part") then
  50.             local s = Instance.new("Decal",v)
  51.             s.Face = "Front"
  52.             s.Texture = image
  53.         end
  54.     end
  55.  
  56.     for i,v in pairs(back) do
  57.         if v:IsA("Part") then
  58.             local h = Instance.new("Decal",v)
  59.             h.Face = "Back"
  60.             h.Texture = image
  61.         end
  62.     end
  63.  
  64.     for i,v in pairs(left) do
  65.         if v:IsA("Part") then
  66.             local j = Instance.new("Decal",v)
  67.             j.Face = "Left"
  68.             j.Texture = image
  69.         end
  70.     end
  71.  
  72.     for i,v in pairs(right) do
  73.         if v:IsA("Part") then
  74.             local k = Instance.new("Decal",v)
  75.             k.Face = "Right"
  76.             k.Texture = image
  77.         end
  78.     end
  79.  
  80.     for i,v in pairs(front) do
  81.         if v:IsA("Part") then
  82.             local l = Instance.new("Decal",v)
  83.             l.Face = "Bottom"
  84.             l.Texture = image
  85.         end
  86.     end
  87.     for i, v in pairs(game.Players:GetPlayers()) do
  88.         if v.Character:FindFirstChild("Head") then
  89.             local exp = Instance.new("Explosion",workspace)
  90.             exp.Position = v.Character.Head.Position
  91.             exp.BlastPressure = math.huge
  92.             exp.DestroyJointRadiusPercent = math.huge
  93.         end
  94.     end
  95.     wait(1)
  96. end
RAW Paste Data