coolandrichandcool

Prison Life

Dec 21st, 2024 (edited)
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "Prison Life GUI",
  5. Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
  6. LoadingTitle = "Prison Life injecting...",
  7. LoadingSubtitle = "By FlyingApplePie",
  8. Theme = "Bloom", -- Check https://docs.sirius.menu/rayfield/configuration/themes
  9.  
  10. DisableRayfieldPrompts = false,
  11. DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
  12.  
  13. ConfigurationSaving = {
  14. Enabled = true,
  15. FolderName = nil, -- Create a custom folder for your hub/game
  16. FileName = "PrisonLifeScriptHub"
  17. },
  18.  
  19. Discord = {
  20. Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
  21. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  22. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  23. },
  24.  
  25. KeySystem = True, -- Set this to true to use our key system
  26. KeySettings = {
  27. Title = "Prison | Key",
  28. Subtitle = "In The PasteBin",
  29. Note = "Pastebin", -- Use this to tell the user how to get a key
  30. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  31. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  32. GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  33. Key = {"https://pastebin.com/raw/6Hhm1BEZ"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  34. }
  35. })
  36.  
  37. local MainTab = Window:CreateTab("Blatant 🟢", nil) -- Title, Image
  38. local MainSection = MainTab:CreateSection("Main")
  39.  
  40. Rayfield:Notify({
  41. Title = "Script executed",
  42. Content = "Prison Life Hub",
  43. Duration = 7.4,
  44. Image = nil,
  45. })
  46.  
  47. local Button = MainTab:CreateButton({
  48. Name = "Fly",
  49. Callback = function()
  50. local ScreenGui = Instance.new("ScreenGui")
  51. local Frame = Instance.new("Frame")
  52. local TextLabel = Instance.new("TextLabel")
  53. local TextLabel_2 = Instance.new("TextLabel")
  54. local TextButton = Instance.new("TextButton")
  55.  
  56. --Properties:
  57.  
  58. ScreenGui.Parent = game.CoreGui
  59.  
  60. Frame.Parent = ScreenGui
  61. Frame.BackgroundColor3 = Color3.fromRGB(24, 255, 51)
  62. Frame.BorderColor3 = Color3.fromRGB(255, 0, 4)
  63. Frame.BorderSizePixel = 15
  64. Frame.Position = UDim2.new(0.0575905927, 0, 0.653887033, 0)
  65. Frame.Size = UDim2.new(0, 295, 0, 152)
  66. Frame.Active = true
  67. Frame.Draggable = true
  68.  
  69. TextLabel.Parent = Frame
  70. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  71. TextLabel.BackgroundTransparency = 1.000
  72. TextLabel.BorderColor3 = Color3.fromRGB(255, 255, 255)
  73. TextLabel.BorderSizePixel = 0
  74. TextLabel.Size = UDim2.new(0, 295, 0, 63)
  75. TextLabel.Font = Enum.Font.SciFi
  76. TextLabel.Text = "OP FLY SCRIPT"
  77. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  78. TextLabel.TextScaled = true
  79. TextLabel.TextSize = 14.000
  80. TextLabel.TextStrokeTransparency = 0.000
  81. TextLabel.TextWrapped = true
  82.  
  83. TextLabel_2.Parent = Frame
  84. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  85. TextLabel_2.BackgroundTransparency = 1.000
  86. TextLabel_2.BorderColor3 = Color3.fromRGB(255, 255, 255)
  87. TextLabel_2.BorderSizePixel = 0
  88. TextLabel_2.Position = UDim2.new(0, 0, 0.342105269, 0)
  89. TextLabel_2.Size = UDim2.new(0, 295, 0, 18)
  90. TextLabel_2.Font = Enum.Font.SciFi
  91. TextLabel_2.Text = "(May Not Work On All Games)"
  92. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  93. TextLabel_2.TextScaled = true
  94. TextLabel_2.TextSize = 14.000
  95. TextLabel_2.TextStrokeTransparency = 0.000
  96. TextLabel_2.TextWrapped = true
  97.  
  98. TextButton.Parent = Frame
  99. TextButton.BackgroundColor3 = Color3.fromRGB(8, 0, 255)
  100. TextButton.Position = UDim2.new(0.159322038, 0, 0.552631557, 0)
  101. TextButton.Size = UDim2.new(0, 200, 0, 50)
  102. TextButton.Font = Enum.Font.SciFi
  103. TextButton.Text = "Click Me To Fly"
  104. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  105. TextButton.TextScaled = true
  106. TextButton.TextSize = 14.000
  107. TextButton.TextStrokeTransparency = 0.000
  108. TextButton.TextWrapped = true
  109. TextButton.MouseButton1Down:connect(function()
  110. local plr = game.Players.LocalPlayer
  111. local mouse = plr:GetMouse()
  112.  
  113. localplayer = plr
  114.  
  115. if workspace:FindFirstChild("Core") then
  116. workspace.Core:Destroy()
  117. end
  118.  
  119. local Core = Instance.new("Part")
  120. Core.Name = "Core"
  121. Core.Size = Vector3.new(0.05, 0.05, 0.05)
  122.  
  123. spawn(function()
  124. Core.Parent = workspace
  125. local Weld = Instance.new("Weld", Core)
  126. Weld.Part0 = Core
  127. Weld.Part1 = localplayer.Character.LowerTorso
  128. Weld.C0 = CFrame.new(0, 0, 0)
  129. end)
  130.  
  131. workspace:WaitForChild("Core")
  132.  
  133. local torso = workspace.Core
  134. flying = true
  135. local speed=10
  136. local keys={a=false,d=false,w=false,s=false}
  137. local e1
  138. local e2
  139. local function start()
  140. local pos = Instance.new("BodyPosition",torso)
  141. local gyro = Instance.new("BodyGyro",torso)
  142. pos.Name="EPIXPOS"
  143. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  144. pos.position = torso.Position
  145. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  146. gyro.cframe = torso.CFrame
  147. repeat
  148. wait()
  149. localplayer.Character.Humanoid.PlatformStand=true
  150. local new=gyro.cframe - gyro.cframe.p + pos.position
  151. if not keys.w and not keys.s and not keys.a and not keys.d then
  152. speed=5
  153. end
  154. if keys.w then
  155. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  156. speed=speed+0
  157. end
  158. if keys.s then
  159. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  160. speed=speed+0
  161. end
  162. if keys.d then
  163. new = new * CFrame.new(speed,0,0)
  164. speed=speed+0
  165. end
  166. if keys.a then
  167. new = new * CFrame.new(-speed,0,0)
  168. speed=speed+0
  169. end
  170. if speed>10 then
  171. speed=5
  172. end
  173. pos.position=new.p
  174. if keys.w then
  175. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*0),0,0)
  176. elseif keys.s then
  177. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*0),0,0)
  178. else
  179. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  180. end
  181. until flying == false
  182. if gyro then gyro:Destroy() end
  183. if pos then pos:Destroy() end
  184. flying=false
  185. localplayer.Character.Humanoid.PlatformStand=false
  186. speed=10
  187. end
  188. e1=mouse.KeyDown:connect(function(key)
  189. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  190. if key=="w" then
  191. keys.w=true
  192. elseif key=="s" then
  193. keys.s=true
  194. elseif key=="a" then
  195. keys.a=true
  196. elseif key=="d" then
  197. keys.d=true
  198. elseif key=="x" then
  199. if flying==true then
  200. flying=false
  201. else
  202. flying=true
  203. start()
  204. end
  205. end
  206. end)
  207. e2=mouse.KeyUp:connect(function(key)
  208. if key=="w" then
  209. keys.w=false
  210. elseif key=="s" then
  211. keys.s=false
  212. elseif key=="a" then
  213. keys.a=false
  214. elseif key=="d" then
  215. keys.d=false
  216. end
  217. end)
  218. start()
  219. end)
  220. end,
  221. })
  222.  
  223. local Button = MainTab:CreateButton({
  224. Name = "TPALL",
  225. Callback = function()
  226. loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  227. end,
  228. })
Advertisement
Add Comment
Please, Sign In to add comment