Advertisement
dryrydry

Frontlines V3

Nov 28th, 2024 (edited)
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.63 KB | None | 0 0
  1. --[[
  2.     WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4.  
  5. -- Services
  6. local Players = game:GetService("Players")
  7. local StarterGui = game:GetService("StarterGui")
  8. local TweenService = game:GetService("TweenService")
  9. local UserInputService = game:GetService("UserInputService")
  10. local LocalPlayer = Players.LocalPlayer
  11.  
  12. -- Constants for hitbox modifications and ESP settings
  13. local size = Vector3.new(10, 10, 10)
  14. local trans = 0.5
  15. local notifications = true
  16.  
  17. -- Store start time for script execution
  18. local start = os.clock()
  19.  
  20. -- Load ESP library
  21. local esp = loadstring(game:HttpGet("https://raw.githubusercontent.com/andrewc0de/Roblox/main/Dependencies/ESP.lua"))()
  22. esp:Toggle(true)
  23.  
  24. -- Configure ESP
  25. esp.Boxes = true
  26. esp.Names = true
  27. esp.Tracers = true
  28. esp.Players = true
  29. esp.TeamColors = true
  30.  
  31. -- Create GUI
  32. local ScreenGui = Instance.new("ScreenGui")
  33. ScreenGui.Name = "EnhancedScriptGui"
  34. ScreenGui.ResetOnSpawn = false
  35. ScreenGui.Parent = game.CoreGui
  36.  
  37. -- Main Frame
  38. local MainFrame = Instance.new("Frame")
  39. MainFrame.Size = UDim2.new(0, 400, 0, 500)
  40. MainFrame.Position = UDim2.new(0.5, -200, 0.5, -250)
  41. MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
  42. MainFrame.BorderSizePixel = 0
  43. MainFrame.Parent = ScreenGui
  44.  
  45. -- Add Animated Gradient
  46. local Gradient = Instance.new("UIGradient")
  47. Gradient.Color = ColorSequence.new{
  48.     ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)),
  49.     ColorSequenceKeypoint.new(0.5, Color3.fromRGB(0, 100, 255)),
  50.     ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 255))
  51. }
  52. Gradient.Rotation = 90
  53. Gradient.Parent = MainFrame
  54.  
  55. -- Title
  56. local Title = Instance.new("TextLabel")
  57. Title.Size = UDim2.new(1, 0, 0, 50)
  58. Title.BackgroundTransparency = 1
  59. Title.Text = "Ultimate Script Hub"
  60. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  61. Title.Font = Enum.Font.GothamBold
  62. Title.TextSize = 24
  63. Title.Parent = MainFrame
  64.  
  65. -- Add a scrolling section for settings
  66. local ScrollingFrame = Instance.new("ScrollingFrame")
  67. ScrollingFrame.Size = UDim2.new(1, -20, 0.8, -60)
  68. ScrollingFrame.Position = UDim2.new(0, 10, 0, 60)
  69. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
  70. ScrollingFrame.BorderSizePixel = 0
  71. ScrollingFrame.ScrollBarThickness = 10
  72. ScrollingFrame.Parent = MainFrame
  73.  
  74. -- ESP Toggle Button
  75. local ESPButton = Instance.new("TextButton")
  76. ESPButton.Size = UDim2.new(0.9, 0, 0, 40)
  77. ESPButton.Position = UDim2.new(0.05, 0, 0, 0)
  78. ESPButton.Text = "Toggle ESP"
  79. ESPButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  80. ESPButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  81. ESPButton.Font = Enum.Font.Gotham
  82. ESPButton.TextSize = 18
  83. ESPButton.Parent = ScrollingFrame
  84.  
  85. -- Hitbox Button
  86. local HitboxButton = Instance.new("TextButton")
  87. HitboxButton.Size = UDim2.new(0.9, 0, 0, 40)
  88. HitboxButton.Position = UDim2.new(0.05, 0, 0.1, 0)
  89. HitboxButton.Text = "Toggle Hitboxes"
  90. HitboxButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  91. HitboxButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  92. HitboxButton.Font = Enum.Font.Gotham
  93. HitboxButton.TextSize = 18
  94. HitboxButton.Parent = ScrollingFrame
  95.  
  96. -- Notifications Toggle
  97. local NotificationsButton = Instance.new("TextButton")
  98. NotificationsButton.Size = UDim2.new(0.9, 0, 0, 40)
  99. NotificationsButton.Position = UDim2.new(0.05, 0, 0.2, 0)
  100. NotificationsButton.Text = "Toggle Notifications"
  101. NotificationsButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  102. NotificationsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  103. NotificationsButton.Font = Enum.Font.Gotham
  104. NotificationsButton.TextSize = 18
  105. NotificationsButton.Parent = ScrollingFrame
  106.  
  107. -- Extra Features Button
  108. local ExtraButton = Instance.new("TextButton")
  109. ExtraButton.Size = UDim2.new(0.9, 0, 0, 40)
  110. ExtraButton.Position = UDim2.new(0.05, 0, 0.3, 0)
  111. ExtraButton.Text = "Run Extra Features"
  112. ExtraButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  113. ExtraButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  114. ExtraButton.Font = Enum.Font.Gotham
  115. ExtraButton.TextSize = 18
  116. ExtraButton.Parent = ScrollingFrame
  117.  
  118. -- Notification Center
  119. local NotificationLabel = Instance.new("TextLabel")
  120. NotificationLabel.Size = UDim2.new(0.9, 0, 0, 40)
  121. NotificationLabel.Position = UDim2.new(0.05, 0, 0.5, 0)
  122. NotificationLabel.Text = "No new notifications."
  123. NotificationLabel.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
  124. NotificationLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  125. NotificationLabel.Font = Enum.Font.Gotham
  126. NotificationLabel.TextSize = 16
  127. NotificationLabel.Parent = MainFrame
  128.  
  129. -- Exit Button
  130. local ExitButton = Instance.new("TextButton")
  131. ExitButton.Size = UDim2.new(0.9, 0, 0, 40)
  132. ExitButton.Position = UDim2.new(0.05, 0, 0.9, 0)
  133. ExitButton.Text = "Close Script"
  134. ExitButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  135. ExitButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  136. ExitButton.Font = Enum.Font.Gotham
  137. ExitButton.TextSize = 18
  138. ExitButton.Parent = MainFrame
  139.  
  140. -- Animate GUI on load
  141. local function animateGUI()
  142.     MainFrame.Position = UDim2.new(0.5, -200, 1, 0)
  143.     local goal = {Position = UDim2.new(0.5, -200, 0.5, -250)}
  144.     local tween = TweenService:Create(MainFrame, TweenInfo.new(1, Enum.EasingStyle.Bounce), goal)
  145.     tween:Play()
  146. end
  147.  
  148. animateGUI()
  149.  
  150. -- ESP Toggle Functionality
  151. local ESPEnabled = true
  152. ESPButton.MouseButton1Click:Connect(function()
  153.     ESPEnabled = not ESPEnabled
  154.     esp:Toggle(ESPEnabled)
  155.     ESPButton.Text = ESPEnabled and "ESP: ON" or "ESP: OFF"
  156. end)
  157.  
  158. -- Hitbox Toggle Functionality
  159. local HitboxEnabled = false
  160. HitboxButton.MouseButton1Click:Connect(function()
  161.     HitboxEnabled = not HitboxEnabled
  162.     for _, obj in pairs(workspace:GetDescendants()) do
  163.         if obj:IsA("BasePart") and obj.Name == "HumanoidRootPart" then
  164.             obj.Size = HitboxEnabled and size or Vector3.new(2, 2, 1)
  165.             obj.Transparency = HitboxEnabled and trans or 0
  166.         end
  167.     end
  168.     HitboxButton.Text = HitboxEnabled and "Hitboxes: ON" or "Hitboxes: OFF"
  169. end)
  170.  
  171. -- Notifications Toggle
  172. NotificationsButton.MouseButton1Click:Connect(function()
  173.     notifications = not notifications
  174.     NotificationsButton.Text = notifications and "Notifications: ON" or "Notifications: OFF"
  175. end)
  176.  
  177. -- Extra Features Functionality
  178. ExtraButton.MouseButton1Click:Connect(function()
  179.     NotificationLabel.Text = "Running extra features..."
  180.     task.wait(2)
  181.     NotificationLabel.Text = "Extra features complete!"
  182. end)
  183.  
  184. -- Exit Button
  185. ExitButton.MouseButton1Click:Connect(function()
  186.     ScreenGui:Destroy()
  187. end)
  188.  
  189. -- Final Notification
  190. local finish = os.clock()
  191. StarterGui:SetCore("SendNotification", {
  192.     Title = "Script Loaded",
  193.     Text = string.format("Loaded in %.2f seconds!", finish - start),
  194.     Duration = 5
  195. })
  196.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement