Advertisement
pitrioptixiop

random petscop script i made

May 31st, 2018
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. msg = Instance.new("Message",workspace)
  4. msg.Text = ""
  5. gui = Instance.new("ScreenGui",plr.PlayerGui)
  6. textbox = Instance.new("TextBox",gui)
  7. textbox.Position = UDim2.new(0.23,0,0.269,0)
  8. textbox.Text = ""
  9. textbox.Size = UDim2.new(0,200,0,50)
  10. textbox.Visible = true
  11. textbox.Active = true
  12. textbox.Changed:connect(function(property)
  13. if property == "Text" then
  14. if textbox.Text == "WHERE IS MY HOUSE" then
  15. wait(2)
  16. part = Instance.new("Part",workspace)
  17. part.Anchored = true
  18. wait(0.1)
  19. part.CFrame = CFrame.new(0,5,0)
  20. wait(0.1)
  21. part.Size = Vector3.new(10,10,10)
  22. wait(0.1)
  23. part.BrickColor = BrickColor.Green()
  24. wait(0.1)
  25. part2 = part:Clone()
  26. part2.Parent = workspace
  27. wait(0.1)
  28. part2.Size = Vector3.new(10,3,10)
  29. wait(0.1)
  30. part2.CFrame = part.CFrame + Vector3.new(0,6,0)
  31. wait(0.1)
  32. part2.BrickColor = BrickColor.Gray()
  33. end
  34. if textbox.Text == "WHERE IS THE SCHOOL" then
  35. wait(2)
  36. part = Instance.new("Part",workspace)
  37. part.Anchored = true
  38. wait(0.1)
  39. part.CFrame = CFrame.new(0,15,0)
  40. wait(0.1)
  41. part.Size = Vector3.new(100,25,100)
  42. wait(0.1)
  43. part.BrickColor = BrickColor.Red()
  44. wait(0.1)
  45. end
  46. if textbox.Text == "DESTROY GAME" then
  47. wait(2)
  48. game.Lighting.Ambient = BrickColor.Random().Color
  49. wait(0.25)
  50. game.Lighting.Ambient = BrickColor.Random().Color
  51. wait(0.25)
  52. game.Lighting.Ambient = BrickColor.Random().Color
  53. wait(0.25)
  54. game.Lighting.Ambient = BrickColor.Random().Color
  55. wait(0.25)
  56. game.Lighting.Ambient = BrickColor.Random().Color
  57. wait(0.25)
  58. game.Lighting.Ambient = BrickColor.Random().Color
  59. wait(0.25)
  60. game.Lighting.FogEnd = math.random(10,25)
  61. wait(0.1)
  62. game.Lighting.FogEnd = math.random(10,25)
  63. wait(0.1)
  64. game.Lighting.FogEnd = math.random(10,25)
  65. wait(0.1)
  66. game.Lighting.FogEnd = math.random(10,25)
  67. wait(0.1)
  68. game.Lighting.FogEnd = math.random(10,25)
  69. wait(0.1)
  70. game.Lighting.FogEnd = math.random(10,25)
  71. wait(0.1)
  72. game.Lighting.FogEnd = math.random(10,25)
  73. wait(0.1)
  74. game.Lighting.FogEnd = math.random(10,25)
  75. wait(0.1)
  76. game.Lighting.FogEnd = math.random(10,25)
  77. wait(0.1)
  78. game.Lighting.FogColor = game.Lighting.Ambient
  79. workspace.Camera.FieldOfView = math.random(10,20)
  80. while true do
  81. wait(0.01)
  82. part = Instance.new("Part",workspace)
  83. gp = game.Players:GetPlayers()
  84. for i=1, #gp do
  85. tool = Instance.new("Tool",gp[i].Backpack)
  86. tool.Name = "Destroy_Game_"..tostring(math.random(10,25))
  87. game.Debris:AddItem(tool,1)
  88. game.StarterGui:SetCore("ChatMakeSystemMessage",{
  89. Text = "Destroy_Game_"..tostring(math.random(10,25));
  90. Color = Color3.new(1,1,1);
  91. Font = Enum.Font.Arcade;
  92. FontSize = Enum.FontSize.Size96;
  93. })
  94. for i=1, #gp do
  95. ff = Instance.new("ForceField",gp[i].Character)
  96. if gp[i].Character:FindFirstChild("Head") then
  97. fire = Instance.new("ForceField",gp[i].Character.Head)
  98. end
  99. tool = Instance.new("Tool",gp[i].Backpack)
  100. tool.Name = "Destroy_Game_"..tostring(math.random(10,25))
  101. game.Debris:AddItem(tool,1)
  102. for i=1, #gp do
  103. ff = Instance.new("ForceField",gp[i].Character)
  104. if gp[i].Character:FindFirstChild("Head") then
  105. fire = Instance.new("ForceField",gp[i].Character.Head)
  106. end
  107. tool = Instance.new("Tool",gp[i].Backpack)
  108. tool.Name = "Destroy_Game_"..tostring(math.random(10,25))
  109. game.Debris:AddItem(tool,1)
  110. for i=1, #gp do
  111. ff = Instance.new("ForceField",gp[i].Character)
  112. if gp[i].Character:FindFirstChild("Head") then
  113. fire = Instance.new("ForceField",gp[i].Character.Head)
  114. end
  115. tool = Instance.new("Tool",gp[i].Backpack)
  116. tool.Name = "Destroy_Game_"..tostring(math.random(10,25))
  117. game.Debris:AddItem(tool,1)
  118. end
  119. end
  120. end
  121. end
  122. end
  123. end
  124. end
  125. end)
  126. while true do
  127. wait(0.01)
  128. msg.Text = textbox.Text
  129. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement