Advertisement
Scriptorz5

baldis basics gui

Jun 19th, 2018
779
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.92 KB | None | 0 0
  1. -- Objects
  2.  
  3. local BaldiGUI = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextLabel_2 = Instance.new("TextLabel")
  7. local TextLabel_3 = Instance.new("TextLabel")
  8. local ESP = Instance.new("TextButton")
  9. local NEIMTP = Instance.new("TextButton")
  10. local xbutton = Instance.new("TextButton")
  11. local DESTROY = Instance.new("TextButton")
  12. local NOTBUKTP = Instance.new("TextButton")
  13.  
  14. -- Properties
  15.  
  16. BaldiGUI.Name = "BaldiGUI"
  17. BaldiGUI.Parent = game.CoreGui
  18.  
  19. Frame.Parent = BaldiGUI
  20. Frame.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  21. Frame.Position = UDim2.new(0.711458325, 0, 0.0867970884, 0)
  22. Frame.Size = UDim2.new(0, 504, 0, 338)
  23. Frame.Active = true
  24. Frame.Draggable = true
  25.  
  26. TextLabel.Parent = Frame
  27. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  28. TextLabel.BackgroundTransparency = 1
  29. TextLabel.Position = UDim2.new(0.289682537, 0, 0, 0)
  30. TextLabel.Size = UDim2.new(0, 210, 0, 51)
  31. TextLabel.Font = Enum.Font.ArialBold
  32. TextLabel.Text = "Baldi's Basics GUI"
  33. TextLabel.TextColor3 = Color3.new(0.0941177, 1, 0.819608)
  34. TextLabel.TextSize = 20
  35.  
  36. TextLabel_2.Parent = Frame
  37. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  38. TextLabel_2.BackgroundTransparency = 1
  39. TextLabel_2.Position = UDim2.new(0.309523821, 0, 0.0946745947, 0)
  40. TextLabel_2.Size = UDim2.new(0, 189, 0, 25)
  41. TextLabel_2.Font = Enum.Font.SourceSans
  42. TextLabel_2.Text = "GUI: SpanishChilean"
  43. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  44. TextLabel_2.TextSize = 14
  45.  
  46. TextLabel_3.Parent = Frame
  47. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  48. TextLabel_3.BackgroundTransparency = 1
  49. TextLabel_3.Position = UDim2.new(0.309523821, 0, 0.150887609, 0)
  50. TextLabel_3.Size = UDim2.new(0, 189, 0, 25)
  51. TextLabel_3.Font = Enum.Font.SourceSans
  52. TextLabel_3.Text = "Scripts: Inquisitive"
  53. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  54. TextLabel_3.TextSize = 14
  55.  
  56. ESP.Name = "ESP"
  57. ESP.Parent = Frame
  58. ESP.BackgroundColor3 = Color3.new(0.423529, 1, 0.462745)
  59. ESP.Position = UDim2.new(0.117063493, 0, 0.662721872, 0)
  60. ESP.Size = UDim2.new(0, 390, 0, 37)
  61. ESP.Font = Enum.Font.SourceSans
  62. ESP.Text = "ESP"
  63. ESP.TextColor3 = Color3.new(0, 0, 0)
  64. ESP.TextSize = 14
  65.  
  66. NEIMTP.Name = "NEIMTP"
  67. NEIMTP.Parent = Frame
  68. NEIMTP.BackgroundColor3 = Color3.new(0.423529, 1, 0.462745)
  69. NEIMTP.Position = UDim2.new(0.117063493, 0, 0.301775157, 0)
  70. NEIMTP.Size = UDim2.new(0, 390, 0, 37)
  71. NEIMTP.Font = Enum.Font.SourceSans
  72. NEIMTP.Text = "Exit Door Random TP"
  73. NEIMTP.TextColor3 = Color3.new(0, 0, 0)
  74. NEIMTP.TextSize = 14
  75.  
  76. xbutton.Name = "xbutton"
  77. xbutton.Parent = Frame
  78. xbutton.BackgroundColor3 = Color3.new(1, 1, 1)
  79. xbutton.BackgroundTransparency = 1
  80. xbutton.Position = UDim2.new(0.90476191, 0, 0, 0)
  81. xbutton.Size = UDim2.new(0, 48, 0, 42)
  82. xbutton.Font = Enum.Font.ArialBold
  83. xbutton.Text = "X"
  84. xbutton.TextColor3 = Color3.new(1, 1, 1)
  85. xbutton.TextSize = 20
  86. xbutton.TextStrokeColor3 = Color3.new(1, 1, 1)
  87.  
  88. DESTROY.Name = "DESTROY"
  89. DESTROY.Parent = Frame
  90. DESTROY.BackgroundColor3 = Color3.new(0.423529, 1, 0.462745)
  91. DESTROY.Position = UDim2.new(0.117063493, 0, 0.473372787, 0)
  92. DESTROY.Size = UDim2.new(0, 390, 0, 37)
  93. DESTROY.Font = Enum.Font.SourceSans
  94. DESTROY.Text = "Break parts with right click"
  95. DESTROY.TextColor3 = Color3.new(0, 0, 0)
  96. DESTROY.TextSize = 14
  97.  
  98. NOTBUKTP.Name = "NOTBUKTP"
  99. NOTBUKTP.Parent = Frame
  100. NOTBUKTP.BackgroundColor3 = Color3.new(0.423529, 1, 0.462745)
  101. NOTBUKTP.Position = UDim2.new(0.117063493, 0, 0.825443745, 0)
  102. NOTBUKTP.Size = UDim2.new(0, 390, 0, 37)
  103. NOTBUKTP.Font = Enum.Font.SourceSans
  104. NOTBUKTP.Text = "Notebook TP"
  105. NOTBUKTP.TextColor3 = Color3.new(0, 0, 0)
  106. NOTBUKTP.TextSize = 14
  107.  
  108. --Scripts
  109.  
  110. DESTROY.MouseButton1Down:connect(function()
  111. local mouse = game.Players.LocalPlayer:GetMouse()
  112. mouse.Button2Down:connect(function()
  113. local obj = mouse.Target
  114. local xplosion = Instance.new("Explosion",game.Workspace)
  115. xplosion.Position = obj.Position
  116. obj:Remove()
  117. end)
  118. end)
  119.  
  120. ESP.MouseButton1Down:connect(function()
  121. _G.baldiGlobalSwitch = true --Master switch
  122. _G.baldiEsp = true --Toggles ESP for baldi
  123. _G.notebookEsp = true --Toggles ESP for notebooks
  124. _G.notebookEspAlwaysBig = true --Shows notebook collect message at full size at any distance
  125. _G.mobEsp = true
  126. _G.enableInk = false
  127.  
  128. mobList = {"Playtime", "Gotta Sweep", "1st Prize", "Principal", "Superintendent", "Arts & Crafters", "Let's Drum"}
  129.  
  130. while (_G.baldiGlobalSwitch == true) do
  131. if (_G.enableInk == false)
  132. then
  133. game.CoreGui.Student.Ink.Image = "rbxassetid://845518463"
  134. else
  135.  
  136. end
  137. if (_G.notebookEsp == true) then
  138. for _,v in pairs(game.Workspace:GetChildren()) do
  139. if (v.Name == "Notebook") then
  140. for _, a in pairs(v:GetChildren()) do
  141. if (a.Name == "BillboardGui") then
  142. a.AlwaysOnTop = true
  143. if (_G.notebookEspAlwaysBig == true) then
  144. a.TextLabel.TextWrapped = false
  145. else
  146. a.TextLabel.TextWrapped = true
  147. end
  148. end
  149. end
  150. end
  151. end
  152. end
  153. if (_G.baldiEsp) == true then
  154. for _, player in pairs(game.Players:GetPlayers()) do
  155. local head = player.Character and player.Character:FindFirstChild("Head")
  156. if head and player:WaitForChild("TeamNum").Value == 2 then
  157. local gui = Instance.new("BillboardGui")
  158. local ilabel = Instance.new("ImageLabel")
  159. local aspectcon = Instance.new("UIAspectRatioConstraint")
  160. local sizecon = Instance.new("UISizeConstraint")
  161. ilabel.Parent = gui
  162. aspectcon.Parent = ilabel
  163. sizecon.Parent = ilabel
  164. ilabel.AnchorPoint = Vector2.new(0.5, 0)
  165. ilabel.BackgroundTransparency = 1
  166. ilabel.Image = "rbxassetid://1839467318"
  167. ilabel.ScaleType = "Stretch"
  168. ilabel.SizeConstraint = "RelativeXY"
  169. ilabel.Size = UDim2.new(1, 0, 1, 0)
  170. ilabel.TileSize = UDim2.new(1, 0, 1, 0)
  171. ilabel.Visible = true
  172. aspectcon.AspectRatio = 1
  173. aspectcon.AspectType = "FitWithinMaxSize"
  174. aspectcon.DominantAxis = "Width"
  175. sizecon.MinSize = Vector2.new(30, 30)
  176. gui.AlwaysOnTop = true
  177. gui.Size = UDim2.new(3, 0, 3, 0)
  178. gui.ExtentsOffset = Vector3.new(0, 4, 0)
  179. gui.Enabled = true
  180. gui.Parent = head
  181. end
  182. end
  183. end
  184. if (_G.mobEsp == true) then
  185. for _,v in pairs(game.Workspace:GetChildren()) do
  186. for _,k in pairs(mobList) do
  187. if (v.Name == k) then
  188. local bill = Instance.new("BillboardGui", v)
  189. bill.Size = UDim2.new(4, 0, 3, 0)
  190. bill.AlwaysOnTop = true
  191. local tLabel = Instance.new("TextLabel", bill)
  192. tLabel.Size = UDim2.new(4, 0, 2, 0)
  193. tLabel.BackgroundTransparency = 1
  194. tLabel.Text = v.Name
  195. tLabel.TextSize = 10
  196. tLabel.TextColor3 = Color3.new(255, 0, 0)
  197. tLabel.Position = UDim2.new(-2, 0, 0, 0)
  198. end
  199. end
  200. end
  201. end
  202. wait(5)
  203. end
  204. end)
  205.  
  206. NEIMTP.MouseButton1Down:connect(function()
  207. --Teleport to a random exit
  208. for _,v in pairs(game.Workspace:GetChildren()) do
  209. if (v.Name == "ExitDoor") then
  210. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  211. end
  212. end
  213. end)
  214.  
  215. xbutton.MouseButton1Down:connect(function()
  216. Frame:TweenPosition(UDim2.new(0.384,0,-1,0), 'Out', 'Elastic', 3)
  217. Frame.Visible = false
  218. end)
  219.  
  220. NOTBUKTP.MouseButton1Down:connect(function()
  221. --Teleport to a random notebook
  222. for _,v in pairs(game.Workspace:GetChildren()) do
  223. if (v.Name == "Notebook") then
  224. for _,a in pairs(v:GetChildren()) do
  225. if (a.Name == "ClickDetector") then
  226. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  227. end
  228. end
  229. end
  230. end
  231. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement