Advertisement
mrcodeplayz

Untitled

Apr 19th, 2020
8,384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.79 KB | None | 0 0
  1. loadstring(game:HttpGet(('https://pastebin.com/raw/4rkRHviN'),true))()
  2.  
  3.  function GetPlayer(String)
  4.    local Found = {}
  5.    local strl = String:lower()
  6.        for i,v in pairs(game.Players:GetPlayers()) do
  7.            if v.Name:lower():sub(1, #String) == String:lower() then
  8.                table.insert(Found,v.Name)
  9.            end
  10.        end    
  11.    return Found    
  12. end
  13. local PrisonRuinerGui = Instance.new("ScreenGui")
  14. local Frame = Instance.new("Frame")
  15. local TextLabel = Instance.new("TextLabel")
  16. local Kill = Instance.new("TextButton")
  17. local Merge = Instance.new("TextButton")
  18. local Kick = Instance.new("TextButton")
  19. local KillAll = Instance.new("TextButton")
  20. local Sword = Instance.new("TextButton")
  21. local Player = Instance.new("TextBox")
  22. local TextLabel_2 = Instance.new("TextLabel")
  23. local Line = Instance.new("TextLabel")
  24. local Spectate = Instance.new("TextButton")
  25. local Goto = Instance.new("TextButton")
  26. local Unspectate = Instance.new("TextButton")
  27. PrisonRuinerGui.Name = "Prison Ruiner Gui"
  28. PrisonRuinerGui.Parent = game.CoreGui
  29. PrisonRuinerGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  30. Frame.Active = true
  31. Frame.Draggable = true
  32. Frame.Parent = PrisonRuinerGui
  33. Frame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  34. Frame.BorderColor3 = Color3.new(0, 0, 0)
  35. Frame.BorderSizePixel = 0
  36. Frame.Position = UDim2.new(0.0496657118, 0, 0.473186165, 0)
  37. Frame.Size = UDim2.new(0, 337, 0, 319)
  38. TextLabel.Parent = Frame
  39. TextLabel.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  40. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  41. TextLabel.BorderSizePixel = 0
  42. TextLabel.Size = UDim2.new(0, 337, 0, 42)
  43. TextLabel.Font = Enum.Font.Cartoon
  44. TextLabel.Text = "Prison Ruiner Gui"
  45. TextLabel.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  46. TextLabel.TextScaled = true
  47. TextLabel.TextSize = 14
  48. TextLabel.TextWrapped = true
  49. Kill.Name = "Kill"
  50. Kill.Parent = Frame
  51. Kill.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  52. Kill.BorderColor3 = Color3.new(0, 0, 0)
  53. Kill.BorderSizePixel = 0
  54. Kill.Position = UDim2.new(0.0579999983, 0, 0.173843265, 0)
  55. Kill.Size = UDim2.new(0, 131, 0, 33)
  56. Kill.Font = Enum.Font.Cartoon
  57. Kill.Text = "Kill"
  58. Kill.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  59. Kill.TextScaled = true
  60. Kill.TextSize = 14
  61. Kill.TextWrapped = true
  62. Merge.Name = "Merge"
  63. Merge.Parent = Frame
  64. Merge.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  65. Merge.BorderColor3 = Color3.new(0, 0, 0)
  66. Merge.BorderSizePixel = 0
  67. Merge.Position = UDim2.new(0.550999999, 0, 0.173131928, 0)
  68. Merge.Size = UDim2.new(0, 131, 0, 33)
  69. Merge.Font = Enum.Font.Cartoon
  70. Merge.Text = "Merge"
  71. Merge.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  72. Merge.TextScaled = true
  73. Merge.TextSize = 14
  74. Merge.TextWrapped = true
  75. Kick.Name = "Kick"
  76. Kick.Parent = Frame
  77. Kick.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  78. Kick.BorderColor3 = Color3.new(0, 0, 0)
  79. Kick.BorderSizePixel = 0
  80. Kick.Position = UDim2.new(0.0579999983, 0, 0.300999999, 0)
  81. Kick.Size = UDim2.new(0, 131, 0, 33)
  82. Kick.Font = Enum.Font.Cartoon
  83. Kick.Text = "Kick"
  84. Kick.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  85. Kick.TextScaled = true
  86. Kick.TextSize = 14
  87. Kick.TextWrapped = true
  88. KillAll.Name = "Kill All"
  89. KillAll.Parent = Frame
  90. KillAll.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  91. KillAll.BorderColor3 = Color3.new(0, 0, 0)
  92. KillAll.BorderSizePixel = 0
  93. KillAll.Position = UDim2.new(0.550999999, 0, 0.302032351, 0)
  94. KillAll.Size = UDim2.new(0, 131, 0, 33)
  95. KillAll.Font = Enum.Font.Cartoon
  96. KillAll.Text = "Kill All"
  97. KillAll.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  98. KillAll.TextScaled = true
  99. KillAll.TextSize = 14
  100. KillAll.TextWrapped = true
  101. Sword.Name = "Sword"
  102. Sword.Parent = Frame
  103. Sword.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  104. Sword.BorderColor3 = Color3.new(0, 0, 0)
  105. Sword.BorderSizePixel = 0
  106. Sword.Position = UDim2.new(0.0579999685, 0, 0.855558157, 0)
  107. Sword.Size = UDim2.new(0, 131, 0, 33)
  108. Sword.Font = Enum.Font.Cartoon
  109. Sword.Text = "Sword"
  110. Sword.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  111. Sword.TextScaled = true
  112. Sword.TextSize = 14
  113. Sword.TextWrapped = true
  114. Player.Name = "Player"
  115. Player.Parent = Frame
  116. Player.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  117. Player.BorderColor3 = Color3.new(0, 0, 0)
  118. Player.BorderSizePixel = 0
  119. Player.Position = UDim2.new(0.202000022, 0, 0.609539211, 0)
  120. Player.Size = UDim2.new(0, 200, 0, 33)
  121. Player.Font = Enum.Font.Cartoon
  122. Player.PlaceholderColor3 = Color3.new(0.490196, 0.490196, 0.490196)
  123. Player.PlaceholderText = "Player"
  124. Player.Text = ""
  125. Player.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  126. Player.TextScaled = true
  127. Player.TextSize = 14
  128. Player.TextWrapped = true
  129. TextLabel_2.Parent = Frame
  130. TextLabel_2.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  131. TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
  132. TextLabel_2.BorderSizePixel = 0
  133. TextLabel_2.Position = UDim2.new(0.855000019, 0, 0.654999971, 0)
  134. TextLabel_2.Size = UDim2.new(0, 49, 0, 40)
  135. TextLabel_2.Font = Enum.Font.Cartoon
  136. TextLabel_2.Text = "Gui by Uctron"
  137. TextLabel_2.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  138. TextLabel_2.TextScaled = true
  139. TextLabel_2.TextSize = 14
  140. TextLabel_2.TextWrapped = true
  141. Line.Name = "Line"
  142. Line.Parent = Frame
  143. Line.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  144. Line.BorderColor3 = Color3.new(0, 0, 0)
  145. Line.BorderSizePixel = 0
  146. Line.Position = UDim2.new(0, 0, 0.78076911, 0)
  147. Line.Size = UDim2.new(0, 337, 0, 10)
  148. Line.Font = Enum.Font.Cartoon
  149. Line.Text = ""
  150. Line.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  151. Line.TextScaled = true
  152. Line.TextSize = 14
  153. Line.TextWrapped = true
  154. Spectate.Name = "Spectate"
  155. Spectate.Parent = Frame
  156. Spectate.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  157. Spectate.BorderColor3 = Color3.new(0, 0, 0)
  158. Spectate.BorderSizePixel = 0
  159. Spectate.Position = UDim2.new(0.0579999983, 0, 0.42899999, 0)
  160. Spectate.Size = UDim2.new(0, 131, 0, 33)
  161. Spectate.Font = Enum.Font.Cartoon
  162. Spectate.Text = "Spectate"
  163. Spectate.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  164. Spectate.TextScaled = true
  165. Spectate.TextSize = 14
  166. Spectate.TextWrapped = true
  167. Goto.Name = "Goto"
  168. Goto.Parent = Frame
  169. Goto.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  170. Goto.BorderColor3 = Color3.new(0, 0, 0)
  171. Goto.BorderSizePixel = 0
  172. Goto.Position = UDim2.new(0.551999986, 0, 0.430999994, 0)
  173. Goto.Size = UDim2.new(0, 131, 0, 33)
  174. Goto.Font = Enum.Font.Cartoon
  175. Goto.Text = "Goto"
  176. Goto.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  177. Goto.TextScaled = true
  178. Goto.TextSize = 14
  179. Goto.TextWrapped = true
  180. Unspectate.Name = "Unspectate"
  181. Unspectate.Parent = Frame
  182. Unspectate.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  183. Unspectate.BorderColor3 = Color3.new(0, 0, 0)
  184. Unspectate.BorderSizePixel = 0
  185. Unspectate.Position = UDim2.new(0.550581574, 0, 0.855558157, 0)
  186. Unspectate.Size = UDim2.new(0, 131, 0, 33)
  187. Unspectate.Font = Enum.Font.Cartoon
  188. Unspectate.Text = "Unspectate"
  189. Unspectate.TextColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  190. Unspectate.TextScaled = true
  191. Unspectate.TextSize = 14
  192. Unspectate.TextWrapped = true
  193.  
  194. Kill.MouseButton1Click:Connect(function()
  195. local savedteam = game.Players.LocalPlayer.TeamColor.Name
  196. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  197. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  198. for i,v in pairs(GetPlayer(Player.Text)) do
  199. local A_1 = {[1] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)), ["Distance"] = 3.2524313926697, ["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), ["Hit"] = game.Players[v].Character.Head}, [2] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)), ["Distance"] = 3.2699294090271, ["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), ["Hit"] = game.Players[v].Character.Head}, [3] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)), ["Distance"] = 3.1665518283844, ["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), ["Hit"] = game.Players[v].Character.Head}, [4] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)), ["Distance"] = 3.3218522071838, ["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), ["Hit"] = game.Players[v].Character.Head}, [5] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)), ["Distance"] = 3.222757101059, ["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), ["Hit"] = game.Players[v].Character.Head}}
  200. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  201. local Event = game:GetService("ReplicatedStorage").ShootEvent
  202. Event:FireServer(A_1, A_2)
  203. Event:FireServer(A_1, A_2)
  204. end
  205. workspace.Remote.TeamEvent:FireServer(savedteam)
  206. end)
  207.  
  208. KillAll.MouseButton1Click:Connect(function()
  209. local savedteam = game.Players.LocalPlayer.TeamColor.Name
  210. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  211. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  212. for i,v in pairs(game.Players:GetPlayers()) do
  213. local A_1 = {[1] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)), ["Distance"] = 3.2524313926697, ["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), ["Hit"] = v.Character.Head}, [2] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)), ["Distance"] = 3.2699294090271, ["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), ["Hit"] = v.Character.Head}, [3] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)), ["Distance"] = 3.1665518283844, ["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), ["Hit"] = v.Character.Head}, [4] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)), ["Distance"] = 3.3218522071838, ["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), ["Hit"] = v.Character.Head}, [5] = {["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)), ["Distance"] = 3.222757101059, ["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), ["Hit"] = v.Character.Head}}
  214. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  215. local Event = game:GetService("ReplicatedStorage").ShootEvent
  216. Event:FireServer(A_1, A_2)
  217. Event:FireServer(A_1, A_2)
  218. end
  219. game.Players.LocalPlayer.Character:BreakJoints()
  220. workspace.Remote.TeamEvent:FireServer(savedteam)
  221. end)
  222.  
  223. Merge.MouseButton1Click:Connect(function()
  224. for i,v in pairs(GetPlayer(Player.Text)) do
  225. repeat
  226. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v].Character.HumanoidRootPart.CFrame
  227. game:GetService("RunService").Heartbeat:Wait()
  228. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  229. end
  230. end)
  231.  
  232. Kick.MouseButton1Click:Connect(function()
  233. for i,v in pairs(GetPlayer(Player.Text)) do
  234. workspace.Remote.loadchar:InvokeServer(game.Players.LocalPlayer,game.Players[v].TeamColor.Name)
  235. wait(.1)
  236. game:GetService("StarterGui"):SetCore("SendNotification", {
  237. Title = "Starting...";
  238. Text = "Now attempting to kick "..v;
  239. Duration = 5;
  240. })
  241. for i=1,10 do
  242. workspace.Remote.votekick:InvokeServer("Start",game.Players[v])
  243. workspace.Remote.votekick:InvokeServer("Vote")
  244. game:GetService("RunService").Stepped:Wait()
  245. end
  246. if not game.Players:FindFirstChild(v) then
  247. game:GetService("StarterGui"):SetCore("SendNotification", {
  248. Title = "Success!";
  249. Text = v.." has been kicked.";
  250. Duration = 5;
  251. })
  252. end
  253. end
  254. end)
  255.  
  256. Spectate.MouseButton1Click:Connect(function()
  257. for i,v in pairs(GetPlayer(Player.Text)) do
  258. workspace.CurrentCamera.CameraSubject = game.Players[v].Character.Humanoid
  259. end
  260. end)
  261.  
  262. Goto.MouseButton1Click:Connect(function()
  263. for i,v in pairs(GetPlayer(Player.Text)) do
  264. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v].Character.HumanoidRootPart.CFrame
  265. end
  266. end)
  267.  
  268. Unspectate.MouseButton1Click:Connect(function()
  269. for i,v in pairs(GetPlayer(Player.Text)) do
  270. workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  271. end
  272. end)
  273.  
  274. Sword.MouseButton1Click:Connect(function()
  275. for i,v in pairs(GetPlayer(Player.Text)) do
  276. local Sword = Instance.new("Tool")
  277. local Handle = Instance.new("Part")
  278. local Mesh = Instance.new("SpecialMesh")
  279. local Unsheath = Instance.new("Sound")
  280. local SwordSlash = Instance.new("Sound")
  281. SwordSlash.Name = "SwordSlash"
  282. Unsheath.Name = "Unsheath"
  283. Unsheath.SoundId = "http://www.roblox.com/asset/?id=12222225"
  284. Unsheath.Volume = 1
  285. SwordSlash.SoundId = "http://www.roblox.com/asset/?id=12222216"
  286. SwordSlash.Volume = .7
  287. Unsheath.Parent = Handle
  288. SwordSlash.Parent = Handle
  289. Mesh.Parent = Handle
  290. Mesh.MeshId = "rbxassetid://497078148"
  291. Mesh.Scale = Vector3.new(5,5,5)
  292. Handle.Name = "Handle"
  293. Handle.Parent = Sword
  294. Sword.GripForward = Vector3.new(-1,0,0)
  295. Sword.GripPos = Vector3.new(0,0,-1.5)
  296. Sword.GripRight = Vector3.new(0,1,0)
  297. Sword.GripUp = Vector3.new(0,0,1)
  298. Sword.ToolTip = "Uctron's Sword"
  299. Sword.TextureId = "rbxasset://Textures/Sword128.png"
  300. Sword.CanBeDropped = false
  301. Sword.RequiresHandle = true
  302. Handle.Orientation = Vector3.new(-46.24, 42.14, 50.93)
  303. Handle.Position = Vector3.new(-3.174,1.57,3.04)
  304. Handle.CanCollide = true
  305. Handle.Size = Vector3.new(1,.8,4)
  306. Mesh.MeshId = "rbxasset://fonts/sword.mesh"
  307. Mesh.MeshType = "FileMesh"
  308. Mesh.Offset = Vector3.new(0,0,0)
  309. Mesh.Scale = Vector3.new(1,1,1)
  310. Mesh.TextureId = "rbxasset://textures/SwordTexture.png"
  311. Sword.Equipped:Connect(function()
  312. Unsheath:Play()
  313. end)
  314. Sword.Activated:Connect(function()
  315. SwordSlash:Play()
  316. Handle.Touched:Connect(function(Handle)
  317. p=game.Players:FindFirstChild(Handle.Parent.Name)
  318. game.ReplicatedStorage.meleeEvent:FireServer(p)
  319. end)
  320. local Anim = Instance.new("StringValue")
  321. Anim.Name = "toolanim"
  322. Anim.Value = "Slash"
  323. Anim.Parent = Sword
  324. end)
  325. Mouse_Icon = "rbxasset://textures/GunCursor.png"
  326. Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
  327. Tool = Sword
  328. Mouse = nil
  329. function UpdateIcon()
  330. if Mouse then
  331. Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
  332. end
  333. end
  334. function OnEquipped(ToolMouse)
  335. Mouse = ToolMouse
  336. UpdateIcon()
  337. end
  338. function OnChanged(Property)
  339. if Property == "Enabled" then
  340. UpdateIcon()
  341. end
  342. end
  343. Tool.Equipped:Connect(OnEquipped)
  344. Tool.Changed:Connect(OnChanged)
  345. Sword.Parent = game.Players.LocalPlayer.Backpack
  346. end
  347. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement