Advertisement
NotExotic

Larry's Prison

Sep 21st, 2023 (edited)
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.42 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2. local Window = Rayfield:CreateWindow({
  3. Name = "Bob UI",
  4. LoadingTitle = "Loading Bob UI",
  5. LoadingSubtitle = "by Bob YT",
  6. ConfigurationSaving = {
  7. Enabled = true,
  8. FolderName = nil, -- Create a custom folder for your hub/game
  9. FileName = "Bob Hub"
  10. },
  11. Discord = {
  12. Enabled = false,
  13. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  14. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  15. },
  16. KeySystem = false, -- Set this to true to use our key system
  17. KeySettings = {
  18. Title = "Untitled",
  19. Subtitle = "Key System",
  20. Note = "No method of obtaining the key is provided",
  21. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  22. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  23. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  24. Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  25. }
  26. })
  27.  
  28. local LarryTab = Window:CreateTab("💂🏻‍♂️ Barry's Prison 💂🏻‍♂️", nil)
  29. local LarrySection = LarryTab:CreateSection("💂🏻‍♂️ Barry's Prison 💂🏻‍♂️")
  30.  
  31. local Button = LarryTab:CreateButton({
  32. Name = "Teleport To End 👍",
  33. Callback = function()
  34. -- Reference to the local player
  35. local localPlayer = game.Players.LocalPlayer
  36.  
  37. -- Coordinates to move the player to
  38. local newPosition = Vector3.new(-3779, 1000, -492)
  39.  
  40. -- Check if the local player exists and the coordinates are valid
  41. if localPlayer and newPosition then
  42. -- Check if the player has a character
  43. local character = localPlayer.Character
  44. if character and character:IsA("Model") and character:FindFirstChild("HumanoidRootPart") then
  45. -- Set the position of the player's character
  46. character:MoveTo(newPosition)
  47. print("Local player moved to the new position!")
  48. else
  49. print("Local player's character not found.")
  50. end
  51. else
  52. print("Local player not found or invalid coordinates.")
  53. end
  54.  
  55. end,
  56. })
  57.  
  58. local Button = LarryTab:CreateButton({
  59. Name = "Get Doom / Night Sky 👍",
  60. Callback = function()
  61. -- Doom / Night Sky
  62. local player = game.Players.LocalPlayer
  63.  
  64. -- Save the player's current position
  65. local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
  66.  
  67. -- Check if the saved position is valid
  68. if savedPosition then
  69. -- Teleport the player to position (0, 100, 0)
  70. player.Character:MoveTo(Vector3.new(139, 100, -139))
  71.  
  72. -- Wait for a moment (you can adjust this delay as needed)
  73. wait(.2)
  74.  
  75. -- Teleport the player back to the saved position
  76. player.Character:MoveTo(savedPosition)
  77. else
  78. print("Player's position could not be saved or is invalid.")
  79. end
  80.  
  81. end,
  82. })
  83.  
  84. local Button = LarryTab:CreateButton({
  85. Name = "Get Super Speed 👍",
  86. Callback = function()
  87. -- Speed
  88. local player = game.Players.LocalPlayer
  89.  
  90. -- Save the player's current position
  91. local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
  92.  
  93. -- Check if the saved position is valid
  94. if savedPosition then
  95. -- Teleport the player to position (0, 100, 0)
  96. player.Character:MoveTo(Vector3.new(138, 100, -156))
  97.  
  98. -- Wait for a moment (you can adjust this delay as needed)
  99. wait(.2)
  100.  
  101. -- Teleport the player back to the saved position
  102. player.Character:MoveTo(savedPosition)
  103. else
  104. print("Player's position could not be saved or is invalid.")
  105. end
  106.  
  107. end,
  108. })
  109.  
  110. local Button = LarryTab:CreateButton({
  111. Name = "Get Super Jump 👍",
  112. Callback = function()
  113. -- Jump
  114. local player = game.Players.LocalPlayer
  115.  
  116. -- Save the player's current position
  117. local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
  118.  
  119. -- Check if the saved position is valid
  120. if savedPosition then
  121. -- Teleport the player to position (0, 100, 0)
  122. player.Character:MoveTo(Vector3.new(138, 100, -172))
  123.  
  124. -- Wait for a moment (you can adjust this delay as needed)
  125. wait(.2)
  126.  
  127. -- Teleport the player back to the saved position
  128. player.Character:MoveTo(savedPosition)
  129. else
  130. print("Player's position could not be saved or is invalid.")
  131. end
  132.  
  133. end,
  134. })
  135.  
  136. local Button = LarryTab:CreateButton({
  137. Name = "Get Low Gravity 👍",
  138. Callback = function()
  139. -- Low Grav
  140. local player = game.Players.LocalPlayer
  141.  
  142. -- Save the player's current position
  143. local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
  144.  
  145. -- Check if the saved position is valid
  146. if savedPosition then
  147. -- Teleport the player to position (0, 100, 0)
  148. player.Character:MoveTo(Vector3.new(138, 100, -188))
  149.  
  150. -- Wait for a moment (you can adjust this delay as needed)
  151. wait(.2)
  152.  
  153. -- Teleport the player back to the saved position
  154. player.Character:MoveTo(savedPosition)
  155. else
  156. print("Player's position could not be saved or is invalid.")
  157. end
  158.  
  159. end,
  160. })
  161.  
  162. local Button = LarryTab:CreateButton({
  163. Name = "Teleport to Guard Room 👍",
  164. Callback = function()
  165. -- Guard Place
  166. local localPlayer = game.Players.LocalPlayer
  167.  
  168. -- Coordinates to move the player to
  169. local newPosition = Vector3.new(197, 100, -55)
  170.  
  171. -- Check if the local player exists and the coordinates are valid
  172. if localPlayer and newPosition then
  173. -- Check if the player has a character
  174. local character = localPlayer.Character
  175. if character and character:IsA("Model") and character:FindFirstChild("HumanoidRootPart") then
  176. -- Set the position of the player's character
  177. character:MoveTo(newPosition)
  178. print("Local player moved to the new position!")
  179. else
  180. print("Local player's character not found.")
  181. end
  182. else
  183. print("Local player not found or invalid coordinates.")
  184. end
  185.  
  186. end,
  187. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement