Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This exploit UI was edited by TrustedCardinal#4263 & originally created by the creator of BFN.
- -- Original Creation Date: Unknown
- -- Edit Date: 7/19/2018
- ---------------------------------------------------------------------------------------------------------------------------------------
- -- New Features:
- -- 1. Changed Right Click to Destroy to AltToDelete.
- -- 2. Better Teleportation (Less chance of being kicked or glitched!)
- -- 3. Different UI layout and design.
- -- Main Locals
- local MainUI = Instance.new("ScreenGui")
- local Background = Instance.new("Frame")
- local AntiFirstPerson = Instance.new("TextButton")
- local NotebookTeleport = Instance.new("TextButton")
- local AltToDestroy = Instance.new("TextButton")
- local DoorTeleport = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- -- Main UI Properties
- MainUI.Name = "Edited_Baldi_GUI"
- MainUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- -- Main Background Properties
- Background.Name = "Background"
- Background.Parent = MainUI
- Background.BackgroundColor3 = Color3.new(1, 1, 1)
- Background.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
- Background.Position = UDim2.new(0.690387011, 0, 0.225296438, 0)
- Background.Size = UDim2.new(0, 193, 0, 277)
- Background.Active = true
- Background.Draggable = true
- -- Main AFP Properties
- AntiFirstPerson.Name = "AFP"
- AntiFirstPerson.Parent = Background
- AntiFirstPerson.BackgroundColor3 = Color3.new(1, 1, 1)
- AntiFirstPerson.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
- AntiFirstPerson.Position = UDim2.new(0.0829015523, 0, 0.0794223845, 0)
- AntiFirstPerson.Size = UDim2.new(0, 161, 0, 41)
- AntiFirstPerson.Font = Enum.Font.ArialBold
- AntiFirstPerson.Text = "AntiFirstPerson"
- AntiFirstPerson.TextColor3 = Color3.new(0, 0, 0)
- AntiFirstPerson.TextSize = 14
- -- Main Background Properties
- NotebookTeleport.Name = "NotebookTeleport"
- NotebookTeleport.Parent = Background
- NotebookTeleport.BackgroundColor3 = Color3.new(1, 1, 1)
- NotebookTeleport.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
- NotebookTeleport.Position = UDim2.new(0.0829015523, 0, 0.425992787, 0)
- NotebookTeleport.Size = UDim2.new(0, 161, 0, 41)
- NotebookTeleport.Font = Enum.Font.ArialBold
- NotebookTeleport.Text = "Notebook Teleport"
- NotebookTeleport.TextColor3 = Color3.new(0, 0, 0)
- NotebookTeleport.TextSize = 14
- AltToDestroy.Name = "AltToDestroy"
- AltToDestroy.Parent = Background
- AltToDestroy.BackgroundColor3 = Color3.new(1, 1, 1)
- AltToDestroy.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
- AltToDestroy.Position = UDim2.new(0.0829015523, 0, 0.606498182, 0)
- AltToDestroy.Size = UDim2.new(0, 161, 0, 41)
- AltToDestroy.Font = Enum.Font.ArialBold
- AltToDestroy.Text = "Click+Alt to Destroy"
- AltToDestroy.TextColor3 = Color3.new(0, 0, 0)
- AltToDestroy.TextSize = 14
- AltToDestroy.TextWrapped = true
- DoorTeleport.Name = "DoorTeleport"
- DoorTeleport.Parent = Background
- DoorTeleport.BackgroundColor3 = Color3.new(1, 1, 1)
- DoorTeleport.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
- DoorTeleport.Position = UDim2.new(0.0829015523, 0, 0.245487377, 0)
- DoorTeleport.Size = UDim2.new(0, 161, 0, 41)
- DoorTeleport.Font = Enum.Font.ArialBold
- DoorTeleport.Text = "Exit Door TP"
- DoorTeleport.TextColor3 = Color3.new(0, 0, 0)
- DoorTeleport.TextSize = 14
- Close.Name = "Close"
- Close.Parent = Background
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
- Close.BorderSizePixel = 0
- Close.Size = UDim2.new(0, 16, 0, 14)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 14
- AntiFirstPerson.MouseButton1Down:connect(function()
- game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.Classic
- end)
- AltToDestroy.MouseButton1Down:connect(function()
- local mouse = game.Players.LocalPlayer:GetMouse()
- mouse.Button2Down:connect(function()
- local obj = mouse.Target
- obj:Remove()
- end)
- end)
- NotebookTeleport.MouseButton1Down:connect(function()
- for _,v in pairs(game.Workspace:GetChildren()) do
- if (v.Name == "Notebook") then
- for _,a in pairs(v:GetChildren()) do
- if (a.Name == "ClickDetector") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end
- end
- end)
- Close.MouseButton1Down:connect(function()
- Background.Visible = false
- end)
- DoorTeleport.MouseButton1Down:connect(function()
- for _,v in pairs(game.Workspace:GetChildren()) do
- if (v.Name == "ExitDoor") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end)
- wait() game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.Classic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement