Advertisement
MindOfPlayer

Prison life but every time i take damage every one dies

Jul 5th, 2020
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.89 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Topmain = Instance.new("Frame")
  8. local Main = Instance.new("Frame")
  9. local TextButton = Instance.new("TextButton")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local close = Instance.new("TextButton")
  12. local open = Instance.new("TextButton")
  13. local TextLabel = Instance.new("TextLabel")
  14.  
  15. --Properties:
  16.  
  17. ScreenGui.Parent = game.CoreGui
  18.  
  19. Topmain.Name = "Topmain"
  20. Topmain.Parent = ScreenGui
  21. Topmain.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
  22. Topmain.BorderColor3 = Color3.fromRGB(0, 0, 0)
  23. Topmain.BorderSizePixel = 0
  24. Topmain.Position = UDim2.new(0.120143458, 0, 0.308333278, 0)
  25. Topmain.Size = UDim2.new(0, 432, 0, 45)
  26. Topmain.Draggable = true
  27. Topmain.Active = true
  28.  
  29. Main.Name = "Main"
  30. Main.Parent = Topmain
  31. Main.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  32. Main.BorderSizePixel = 0
  33. Main.Position = UDim2.new(-0.000706142862, 0, 0.980555236, 0)
  34. Main.Size = UDim2.new(0, 432, 0, 150)
  35.  
  36. TextButton.Parent = Main
  37. TextButton.BackgroundColor3 = Color3.fromRGB(0, 207, 0)
  38. TextButton.Position = UDim2.new(0.268518507, 0, 0.328888893, 0)
  39. TextButton.Size = UDim2.new(0, 200, 0, 50)
  40. TextButton.Visible = false
  41. TextButton.Font = Enum.Font.SourceSans
  42. TextButton.Text = "ON"
  43. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  44. TextButton.TextSize = 30.000
  45. TextButton.MouseButton1Down:connect(function()
  46. _G.Looop = false
  47. TextButton_2.Visible = true
  48. TextButton.Visible = false
  49. end)
  50.  
  51.  
  52. TextButton_2.Parent = Main
  53. TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  54. TextButton_2.Position = UDim2.new(0.268518507, 0, 0.328888893, 0)
  55. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  56. TextButton_2.Font = Enum.Font.SourceSans
  57. TextButton_2.Text = "OFF"
  58. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. TextButton_2.TextSize = 30.000
  60. TextButton_2.MouseButton1Down:connect(function()
  61. TextButton_2.Visible = false
  62. TextButton.Visible = true
  63. local uwu = (game.Players.LocalPlayer.Name)
  64. _G.Looop = true
  65. while _G.Looop == true do wait(0.1)
  66. if game:GetService("Workspace")[uwu].Humanoid.Health < 99 then
  67. wait(.01)
  68. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  69.  
  70. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  71.  
  72. wait(0.5)
  73. function kill(a)
  74. local A_1 =
  75. {
  76. [1] =
  77. {
  78. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  79. ["Distance"] = 3.2524313926697,
  80. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  81. ["Hit"] = a.Character.Head
  82. },
  83. [2] =
  84. {
  85. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  86. ["Distance"] = 3.2699294090271,
  87. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  88. ["Hit"] = a.Character.Head
  89. },
  90. [3] =
  91. {
  92. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  93. ["Distance"] = 3.1665518283844,
  94. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  95. ["Hit"] = a.Character.Head
  96. },
  97. [4] =
  98. {
  99. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  100. ["Distance"] = 3.3218522071838,
  101. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  102. ["Hit"] = a.Character.Head
  103. },
  104. [5] =
  105. {
  106. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  107. ["Distance"] = 3.222757101059,
  108. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  109. ["Hit"] = a.Character.Head
  110. }
  111. }
  112. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  113. local Event = game:GetService("ReplicatedStorage").ShootEvent
  114. Event:FireServer(A_1, A_2)
  115. Event:FireServer(A_1, A_2)
  116. end
  117.  
  118. for i,v in pairs(game.Players:GetChildren())do
  119. if v.Name ~= game.Players.LocalPlayer.Name then
  120. kill(v)
  121. end
  122. end
  123. wait(1)
  124. workspace.Remote.TeamEvent:FireServer("Bright orange")
  125. end
  126. end
  127. end)
  128.  
  129. close.Name = "close"
  130. close.Parent = Topmain
  131. close.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  132. close.BorderSizePixel = 0
  133. close.Position = UDim2.new(0.902911961, 0, 0.115277722, 0)
  134. close.Size = UDim2.new(0, 41, 0, 34)
  135. close.Font = Enum.Font.SourceSans
  136. close.Text = "_"
  137. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  138. close.TextSize = 30.000
  139. close.MouseButton1Down:connect(function()
  140. open.Visible = true
  141. Main.Visible = false
  142. end)
  143.  
  144. open.Name = "open"
  145. open.Parent = Topmain
  146. open.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  147. open.BorderSizePixel = 0
  148. open.Position = UDim2.new(0.902911961, 0, 0.115277722, 0)
  149. open.Size = UDim2.new(0, 41, 0, 34)
  150. open.Font = Enum.Font.SourceSans
  151. open.Text = "+"
  152. open.TextColor3 = Color3.fromRGB(255, 255, 255)
  153. open.TextSize = 30.000
  154. open.Visible = false
  155. open.MouseButton1Down:connect(function()
  156. open.Visible = false
  157. close.Visible = true
  158. Main.Visible = true
  159. end)
  160.  
  161. TextLabel.Parent = Topmain
  162. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  163. TextLabel.BackgroundTransparency = 1.000
  164. TextLabel.Position = UDim2.new(0.22725594, 0, -0.0777773857, 0)
  165. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  166. TextLabel.Font = Enum.Font.SourceSans
  167. TextLabel.Text = "Prison life but every time i take damage every one dies"
  168. TextLabel.TextColor3 = Color3.fromRGB(208, 208, 208)
  169. TextLabel.TextSize = 20.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement