Advertisement
TrustedCardinal

Baldi's Basics Exploit GUI

Jul 16th, 2018
736
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. -- This exploit UI was edited by TrustedCardinal#4263 & originally created by the creator of BFN.
  2.  
  3. -- Original Creation Date: Unknown
  4. -- Edit Date: 7/19/2018
  5.  
  6. ---------------------------------------------------------------------------------------------------------------------------------------
  7. -- New Features:
  8.  
  9. -- 1. Changed Right Click to Destroy to AltToDelete.
  10. -- 2. Better Teleportation (Less chance of being kicked or glitched!)
  11. -- 3. Different UI layout and design.
  12.  
  13. -- Main Locals
  14. local MainUI = Instance.new("ScreenGui")
  15. local Background = Instance.new("Frame")
  16. local AntiFirstPerson = Instance.new("TextButton")
  17. local NotebookTeleport = Instance.new("TextButton")
  18. local AltToDestroy = Instance.new("TextButton")
  19. local DoorTeleport = Instance.new("TextButton")
  20. local Close = Instance.new("TextButton")
  21.  
  22. -- Main UI Properties
  23. MainUI.Name = "Edited_Baldi_GUI"
  24. MainUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  25.  
  26. -- Main Background Properties
  27. Background.Name = "Background"
  28. Background.Parent = MainUI
  29. Background.BackgroundColor3 = Color3.new(1, 1, 1)
  30. Background.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  31. Background.Position = UDim2.new(0.690387011, 0, 0.225296438, 0)
  32. Background.Size = UDim2.new(0, 193, 0, 277)
  33. Background.Active = true
  34. Background.Draggable = true
  35.  
  36. -- Main AFP Properties
  37. AntiFirstPerson.Name = "AFP"
  38. AntiFirstPerson.Parent = Background
  39. AntiFirstPerson.BackgroundColor3 = Color3.new(1, 1, 1)
  40. AntiFirstPerson.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  41. AntiFirstPerson.Position = UDim2.new(0.0829015523, 0, 0.0794223845, 0)
  42. AntiFirstPerson.Size = UDim2.new(0, 161, 0, 41)
  43. AntiFirstPerson.Font = Enum.Font.ArialBold
  44. AntiFirstPerson.Text = "AntiFirstPerson"
  45. AntiFirstPerson.TextColor3 = Color3.new(0, 0, 0)
  46. AntiFirstPerson.TextSize = 14
  47.  
  48. -- Main Background Properties
  49. NotebookTeleport.Name = "NotebookTeleport"
  50. NotebookTeleport.Parent = Background
  51. NotebookTeleport.BackgroundColor3 = Color3.new(1, 1, 1)
  52. NotebookTeleport.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  53. NotebookTeleport.Position = UDim2.new(0.0829015523, 0, 0.425992787, 0)
  54. NotebookTeleport.Size = UDim2.new(0, 161, 0, 41)
  55. NotebookTeleport.Font = Enum.Font.ArialBold
  56. NotebookTeleport.Text = "Notebook Teleport"
  57. NotebookTeleport.TextColor3 = Color3.new(0, 0, 0)
  58. NotebookTeleport.TextSize = 14
  59.  
  60. AltToDestroy.Name = "AltToDestroy"
  61. AltToDestroy.Parent = Background
  62. AltToDestroy.BackgroundColor3 = Color3.new(1, 1, 1)
  63. AltToDestroy.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  64. AltToDestroy.Position = UDim2.new(0.0829015523, 0, 0.606498182, 0)
  65. AltToDestroy.Size = UDim2.new(0, 161, 0, 41)
  66. AltToDestroy.Font = Enum.Font.ArialBold
  67. AltToDestroy.Text = "Click+Alt to Destroy"
  68. AltToDestroy.TextColor3 = Color3.new(0, 0, 0)
  69. AltToDestroy.TextSize = 14
  70. AltToDestroy.TextWrapped = true
  71.  
  72. DoorTeleport.Name = "DoorTeleport"
  73. DoorTeleport.Parent = Background
  74. DoorTeleport.BackgroundColor3 = Color3.new(1, 1, 1)
  75. DoorTeleport.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  76. DoorTeleport.Position = UDim2.new(0.0829015523, 0, 0.245487377, 0)
  77. DoorTeleport.Size = UDim2.new(0, 161, 0, 41)
  78. DoorTeleport.Font = Enum.Font.ArialBold
  79. DoorTeleport.Text = "Exit Door TP"
  80. DoorTeleport.TextColor3 = Color3.new(0, 0, 0)
  81. DoorTeleport.TextSize = 14
  82.  
  83. Close.Name = "Close"
  84. Close.Parent = Background
  85. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  86. Close.BorderColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  87. Close.BorderSizePixel = 0
  88. Close.Size = UDim2.new(0, 16, 0, 14)
  89. Close.Font = Enum.Font.SourceSans
  90. Close.Text = "X"
  91. Close.TextColor3 = Color3.new(0, 0, 0)
  92. Close.TextSize = 14
  93.  
  94.  
  95. AntiFirstPerson.MouseButton1Down:connect(function()
  96. game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.Classic
  97. end)
  98.  
  99. AltToDestroy.MouseButton1Down:connect(function()
  100. local mouse = game.Players.LocalPlayer:GetMouse()
  101. mouse.Button2Down:connect(function()
  102. local obj = mouse.Target
  103. obj:Remove()
  104. end)
  105. end)
  106.  
  107. NotebookTeleport.MouseButton1Down:connect(function()
  108. for _,v in pairs(game.Workspace:GetChildren()) do
  109. if (v.Name == "Notebook") then
  110. for _,a in pairs(v:GetChildren()) do
  111. if (a.Name == "ClickDetector") then
  112. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  113. end
  114. end
  115. end
  116. end
  117. end)
  118.  
  119. Close.MouseButton1Down:connect(function()
  120. Background.Visible = false
  121. end)
  122.  
  123. DoorTeleport.MouseButton1Down:connect(function()
  124. for _,v in pairs(game.Workspace:GetChildren()) do
  125. if (v.Name == "ExitDoor") then
  126. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  127. end
  128. end
  129. end)
  130.  
  131. wait() game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.Classic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement