Advertisement
Guest User

Roblox OP Prison Life GUI!

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