SFscript

Simple Prison Life Hack GUI (BETA)

Sep 3rd, 2023
90
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.87 KB | Gaming | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4.    Name = "prison life",
  5.    LoadingTitle = "prison life hub",
  6.    LoadingSubtitle = "by SFscript",
  7.    ConfigurationSaving = {
  8.       Enabled = true,
  9.       FolderName = nil, -- Create a custom folder for your hub/game
  10.       FileName = "sfscriptsprisonlife"
  11.    },
  12.    Discord = {
  13.       Enabled = false,
  14.       Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15.       RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16. },
  17.    KeySystem = false, -- Set this to true to use our key system
  18.    KeySettings = {
  19.       Title = "Untitled",
  20.       Subtitle = "Key System",
  21.       Note = "No method of obtaining the key is provided",
  22.       FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  23.       SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24.       GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25.       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")
  26.    }
  27. })
  28.  
  29.  
  30. local MainTab = Window:CreateTab("Home", nil) -- Title, Image
  31. local MainSection = MainTab:CreateSection("Sliders & Toggles")
  32.  
  33. Rayfield:Notify({
  34.    Title = "Script Active",
  35.    Content = "prison life script made by sfscript",
  36.    Duration = 6.5,
  37.    Image = nil,
  38.    Actions = { -- Notification Buttons
  39.       Ignore = {
  40.          Name = "Okay!",
  41.          Callback = function()
  42.          print("The user tapped Okay!")
  43.       end
  44.    },
  45. },
  46. })
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. local Toggle = MainTab:CreateToggle({
  54.    Name = "JumpBoost",
  55.    CurrentValue = false,
  56.    Flag = "Toggle1",
  57.    Callback = function(Value)
  58.         if Value == true then
  59.             game:GetService('Players').LocalPlayer.Character.Humanoid.JumpPower = 150
  60.         else
  61.             game:GetService('Players').LocalPlayer.Character.Humanoid.JumpPower = 50 -- or whatever the default jump power is
  62.         end
  63.    end,
  64. })
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. local Slider = MainTab:CreateSlider({
  74.    Name = "walkspeed",
  75.    Range = {16, 300},
  76.    Increment = 16,
  77.    Suffix = "speed",
  78.    CurrentValue = 16,
  79.    Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  80.    Callback = function(Value)
  81.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
  82.    end,
  83. })
  84.  
  85. local Slider = MainTab:CreateSlider({
  86.    Name = "JumpPower",
  87.    Range = {50, 500},
  88.    Increment = 50,
  89.    Suffix = "JumpPower",
  90.    CurrentValue = 50,
  91.    Flag = "Slider2", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  92.    Callback = function(Value)
  93.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = (Value)
  94.    end,
  95. })
  96.  
  97. local TeleportTab = Window:CreateTab("teleport", niil) -- Title, Image
  98. local Section = TeleportTab:CreateSection("locations")
  99.  
  100. local Button = TeleportTab:CreateButton({
  101.    Name = "crimbase",
  102.    Callback = function()
  103.         local player = game:GetService("Players").LocalPlayer
  104. local teleportPos = Vector3.new(-850,100,2000)
  105.  
  106. player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPos)
  107.    end,
  108. })
  109.  
  110. local Button = TeleportTab:CreateButton({
  111.    Name = "prison",
  112.    Callback = function()
  113.         local player = game:GetService("Players").LocalPlayer
  114. local teleportPos = Vector3.new(910,100,2380)
  115.  
  116. player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPos)
  117.    end,
  118. })
  119.  
  120. local Button = TeleportTab:CreateButton({
  121.    Name = "yard",
  122.    Callback = function()
  123.         local player = game:GetService("Players").LocalPlayer
  124. local teleportPos = Vector3.new(820,100,2430)
  125.  
  126. player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPos)
  127.    end,
  128. })
  129.  
  130. local Button = TeleportTab:CreateButton({
  131.    Name = "Tower",
  132.    Callback = function()
  133.         local player = game:GetService("Players").LocalPlayer
  134. local teleportPos = Vector3.new(820,130,2570)
  135.  
  136. player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPos)
  137.    end,
  138. })
  139.  
  140. local Button = TeleportTab:CreateButton({
  141.    Name = "armory",
  142.    Callback = function()
  143.         local player = game:GetService("Players").LocalPlayer
  144. local teleportPos = Vector3.new(820,100,2260)
  145.  
  146. player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPos)
  147.    end,
  148. })
  149.  
  150.  
  151.  
  152.  
  153. local ButtonTab = Window:CreateTab("Buttons", niil) -- Title, Image
  154. local Section = ButtonTab:CreateSection("Buttons")
  155.  
  156.  
  157. local Button = ButtonTab:CreateButton({
  158.    Name = "Destroy Doors",
  159.    Callback = function()
  160.         game.Workspace.Doors:Destroy()
  161.  
  162.    end,
  163. })
  164.  
  165. local Button = ButtonTab:CreateButton({
  166.    Name = "Destroy Prison Fences",
  167.    Callback = function()
  168.         game.Workspace.Prison_Fences:Destroy()
  169.  
  170.    end,
  171. })
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.        
  180.      
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187. local Workspace = game:GetService("Workspace")
  188. local CoreGui = game:GetService("CoreGui")
  189. local Players = game:GetService("Players")
  190. local Noclip = Instance.new("ScreenGui")
  191. local BG = Instance.new("Frame")
  192. local Title = Instance.new("TextLabel")
  193. local Toggle = Instance.new("TextButton")
  194. local StatusPF = Instance.new("TextLabel")
  195. local Status = Instance.new("TextLabel")
  196. local Credit = Instance.new("TextLabel")
  197. local Plr = Players.LocalPlayer
  198. local Clipon = false
  199.  
  200. Noclip.Name = "Noclip"
  201. Noclip.Parent = game.CoreGui
  202.  
  203. BG.Name = "BG"
  204. BG.Parent = Noclip
  205. BG.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  206. BG.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  207. BG.BorderSizePixel = 2
  208. BG.Position = UDim2.new(0.149479166, 0, 0.82087779, 0)
  209. BG.Size = UDim2.new(0, 210, 0, 127)
  210. BG.Active = true
  211. BG.Draggable = true
  212.  
  213. Title.Name = "Title"
  214. Title.Parent = BG
  215. Title.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
  216. Title.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
  217. Title.BorderSizePixel = 2
  218. Title.Size = UDim2.new(0, 210, 0, 33)
  219. Title.Font = Enum.Font.Highway
  220. Title.Text = "Noclip"
  221. Title.TextColor3 = Color3.new(1, 1, 1)
  222. Title.FontSize = Enum.FontSize.Size32
  223. Title.TextSize = 30
  224. Title.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  225. Title.TextStrokeTransparency = 0
  226.  
  227. Toggle.Parent = BG
  228. Toggle.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
  229. Toggle.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
  230. Toggle.BorderSizePixel = 2
  231. Toggle.Position = UDim2.new(0.152380958, 0, 0.374192119, 0)
  232. Toggle.Size = UDim2.new(0, 146, 0, 36)
  233. Toggle.Font = Enum.Font.Highway
  234. Toggle.FontSize = Enum.FontSize.Size28
  235. Toggle.Text = "Toggle"
  236. Toggle.TextColor3 = Color3.new(1, 1, 1)
  237. Toggle.TextSize = 25
  238. Toggle.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  239. Toggle.TextStrokeTransparency = 0
  240.  
  241. StatusPF.Name = "StatusPF"
  242. StatusPF.Parent = BG
  243. StatusPF.BackgroundColor3 = Color3.new(1, 1, 1)
  244. StatusPF.BackgroundTransparency = 1
  245. StatusPF.Position = UDim2.new(0.314285725, 0, 0.708661377, 0)
  246. StatusPF.Size = UDim2.new(0, 56, 0, 20)
  247. StatusPF.Font = Enum.Font.Highway
  248. StatusPF.FontSize = Enum.FontSize.Size24
  249. StatusPF.Text = "Status:"
  250. StatusPF.TextColor3 = Color3.new(1, 1, 1)
  251. StatusPF.TextSize = 20
  252. StatusPF.TextStrokeColor3 = Color3.new(0.333333, 0.333333, 0.333333)
  253. StatusPF.TextStrokeTransparency = 0
  254. StatusPF.TextWrapped = true
  255.  
  256. Status.Name = "Status"
  257. Status.Parent = BG
  258. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  259. Status.BackgroundTransparency = 1
  260. Status.Position = UDim2.new(0.580952346, 0, 0.708661377, 0)
  261. Status.Size = UDim2.new(0, 56, 0, 20)
  262. Status.Font = Enum.Font.Highway
  263. Status.FontSize = Enum.FontSize.Size14
  264. Status.Text = "off"
  265. Status.TextColor3 = Color3.new(0.666667, 0, 0)
  266. Status.TextScaled = true
  267. Status.TextSize = 14
  268. Status.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  269. Status.TextWrapped = true
  270. Status.TextXAlignment = Enum.TextXAlignment.Left
  271.  
  272.  
  273.  
  274. Toggle.MouseButton1Click:connect(function()
  275.     if Status.Text == "off" then
  276.         Clipon = true
  277.         Status.Text = "on"
  278.         Status.TextColor3 = Color3.new(0,185,0)
  279.         Stepped = game:GetService("RunService").Stepped:Connect(function()
  280.             if not Clipon == false then
  281.                 for a, b in pairs(Workspace:GetChildren()) do
  282.                 if b.Name == Plr.Name then
  283.                 for i, v in pairs(Workspace[Plr.Name]:GetChildren()) do
  284.                 if v:IsA("BasePart") then
  285.                 v.CanCollide = false
  286.                 end end end end
  287.             else
  288.                 Stepped:Disconnect()
  289.             end
  290.         end)
  291.     elseif Status.Text == "on" then
  292.         Clipon = false
  293.         Status.Text = "off"
  294.         Status.TextColor3 = Color3.new(170,0,0)
  295.     end
  296. end)
Comments
  • SFscript
    269 days
    # text 0.10 KB | 0 0
    1. This is the beta version its still being updated so theres not much here to use but i will update it
    2.  
Add Comment
Please, Sign In to add comment