Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- credits to the original person who made the noclip script, i just made the gui.
- -- if u die you have to execute this again
- _G.NoclipEnabled = false
- if game.CoreGui:FindFirstChild("Jailbreak Noclip") then game.CoreGui["Jailbreak Noclip"]:Destroy() end
- --Instances:
- local JailbreakNoclip = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Toggle = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local LocalScript = Instance.new("LocalScript")
- --Properties:
- JailbreakNoclip.Name = "Jailbreak Noclip"
- JailbreakNoclip.Parent = game.CoreGui
- JailbreakNoclip.ResetOnSpawn = false
- Frame.Parent = JailbreakNoclip
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(1, 0, 0)
- Frame.Position = UDim2.new(0.0708215311, 0, 0.598513007, 0)
- Frame.Size = UDim2.new(0, 314, 0, 107)
- Frame.Draggable = true
- Toggle.Name = "Toggle"
- Toggle.Parent = Frame
- Toggle.BackgroundColor3 = Color3.new(0, 0, 0)
- Toggle.BorderSizePixel = 0
- Toggle.Position = UDim2.new(0.152866244, 0, 0.0747663528, 0)
- Toggle.Size = UDim2.new(0, 218, 0, 54)
- Toggle.Font = Enum.Font.SourceSans
- Toggle.Text = "Toggle"
- Toggle.TextColor3 = Color3.new(1, 1, 1)
- Toggle.TextScaled = true
- Toggle.TextSize = 14
- Toggle.TextWrapped = true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.181528658, 0, 0.532710254, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Made by Very Random Guy on V3rm."
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 15
- TextLabel.TextWrapped = true
- LocalScript.Parent = Toggle
- local Frame = LocalScript.Parent.Parent
- _G.NoclipEnabled = false
- LocalScript.Parent.MouseButton1Down:Connect(function()
- if _G.NoclipEnabled == true then
- _G.NoclipEnabled = false
- Frame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Noclip", Text = "Noclip has been disabled."})
- else
- _G.NoclipEnabled = true
- Frame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
- game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Noclip", Text = "Noclip has been enabled."})
- end
- end)
- game.Workspace:FindFirstChild(game:GetService("Players").LocalPlayer.Name).RightHand.Touched:Connect(function(obj)
- if _G.NoclipEnabled == true then
- if obj ~= workspace.Terrain then
- if obj.CanCollide == true then
- obj.CanCollide = false
- wait(1)
- obj.CanCollide = true
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement