Advertisement
sIendytubble

PIGGY SCRIPT (WITH RANDOM PIGGY)

Apr 30th, 2020 (edited)
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 KB | None | 0 0
  1. wait(1)
  2. math.randomseed(tick() % 1 * 1e6)
  3. sky = coroutine.create(function()
  4. while wait(0.3) do
  5. s = Instance.new("Sky",game.Lighting)
  6. s.SkyboxBk,s.SkyboxDn,s.SkyboxFt,s.SkyboxLf,s.SkyboxRt,s.SkyboxUp = "rbxassetid://4283807595","rbxassetid://4283807595","rbxassetid://4283807595","rbxassetid://4283807595","rbxassetid://4283807595","rbxassetid://4283807595"
  7. s.CelestialBodiesShown = false
  8. end
  9. end)
  10.  
  11.  
  12. del = coroutine.create(function()
  13. while wait(0.3) do
  14. for i,v in pairs(workspace:GetChildren()) do
  15. if v:IsA("Model") then
  16. v:Destroy()
  17. end
  18. end
  19. end
  20. end)
  21.  
  22.  
  23.  
  24. for i,v in pairs(game.Players:GetChildren()) do
  25. v.Character.Archivable = true
  26. end
  27.  
  28. noises = {'rbxassetid://230287740','rbxassetid://271787597','rbxassetid://153752123','rbxassetid://271787503'}
  29.  
  30. sound = coroutine.create(function()
  31. a = Instance.new("Sound",workspace)
  32. a.SoundId = "rbxassetid://141509625"
  33. a.Name = "RAINING MEN"
  34. a.Volume = 58359
  35. a.Looped = true
  36. a:Play()
  37. a.PlaybackSpeed = 0.97
  38. e = Instance.new("EqualizerSoundEffect",a)
  39. e.HighGain = 10
  40. e.LowGain = 5
  41. e.MidGain = -2
  42. e.Priority = 1
  43. while wait(0.2) do
  44. rainin = workspace:FindFirstChild("RAINING MEN")
  45. if not rainin then
  46. a = Instance.new("Sound",workspace)
  47. a.SoundId = "rbxassetid://141509625"
  48. a.Name = "RAINING MEN"
  49. a.Volume = 58359
  50. a.Looped = true
  51. a.PlaybackSpeed = 0.97
  52. a:Play()
  53. e = Instance.new("EqualizerSoundEffect",a)
  54. e.HighGain = 10
  55. e.LowGain = 5
  56. e.MidGain = -2
  57. e.Priority = 1
  58. end
  59. end
  60. end)
  61.  
  62. msg = coroutine.create(function()
  63. ready = true
  64. while ready == true do
  65. ready = false
  66. for i,v in pairs(game.Players:GetChildren()) do
  67. coroutine.resume(coroutine.create(function()
  68. local ScreenGui = Instance.new("ScreenGui",v.PlayerGui)
  69. local Frame = Instance.new("Frame",ScreenGui)
  70. local TextLabel = Instance.new("TextLabel",Frame)
  71. Frame.BackgroundTransparency = 1
  72. Frame.Size = UDim2.new(1, 0,1, 0)
  73. Frame.Position = UDim2.new(0, 0,0, 0)
  74. TextLabel.Text = 'get steve-roasted you bacon-haired bozos'
  75. TextLabel.TextSize = 21
  76. TextLabel.Font = "Arial"
  77. TextLabel.Position = UDim2.new(0, 0,0, 0)
  78. TextLabel.Size = UDim2.new(1, 0,1, 0)
  79. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. TextLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  81. TextLabel.TextStrokeTransparency = 0
  82. TextLabel.BackgroundTransparency = 0.5
  83. TextLabel.BackgroundColor3 = Color3.fromRGB(128, 128, 128)
  84. wait(0.4)
  85. ScreenGui:Destroy()
  86. end))
  87. end
  88. wait(0.8)
  89. ready = true
  90. end
  91. end)
  92.  
  93. function putTexture(part, frontF, backF, topF, bottomF, leftF, rightF, className)
  94. local faces = {"Front", "Back", "Top", "Bottom", "Left", "Right"}
  95. for i,f in pairs(faces) do
  96. local decal = Instance.new(className, part)
  97. if i == 1 then decal.Texture = frontF decal.Name = f end
  98. if i == 2 then decal.Texture = backF or frontF decal.Name = f end
  99. if i == 3 then decal.Texture = topF or frontF decal.Name = f end
  100. if i == 4 then decal.Texture = bottomF or frontF decal.Name = f end
  101. if i == 5 then decal.Texture = leftF or frontF decal.Name = f end
  102. if i == 6 then decal.Texture = rightF or frontF decal.Name = f end
  103. decal.Face = f
  104. end
  105. return part
  106. end
  107. rain = coroutine.create(function()
  108. while wait(10 % 1 * 1e2) do
  109. part = Instance.new("Part",workspace)
  110. part.Name = "Steve"
  111.  
  112. -- mesh = Instance.new("SpecialMesh",part)
  113.  
  114. sound = Instance.new("Sound",workspace)
  115.  
  116. part.CanCollide = false
  117. part.Size = Vector3.new(530,530,530)
  118. part.Position = Vector3.new(math.random(-3000,1000),math.random(1,3000),math.random(-3000,3000))
  119. putTexture(part, "rbxassetid://38738031", "rbxassetid://36047330",
  120. "rbxassetid://36047341", "rbxassetid://36047347",
  121. "rbxassetid://36047323", "rbxassetid://36047315", "Decal")
  122. end
  123. end)
  124. coroutine.resume(sky)
  125. coroutine.resume(del)
  126. coroutine.resume(sound)
  127. coroutine.resume(msg)
  128. coroutine.resume(rain)
  129. local Settings={["Un_Removable"]= "On"}
  130. local function mFloor(x) return x - x % 1 end
  131. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  132. if Un_Removable then
  133. Game.Workspace.DescendantRemoving:connect(function(Child)
  134. if not Remove_At_Will and Child == script then
  135. script:Clone().Parent = Game.Workspace
  136. end
  137. end)
  138. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement