Back to Scripts

Assume GUI
ScriptBlox
Universal
Free
Game: Universal Script 📌
1,016
Views
1
Likes
0
Dislikes

*ume
offline
Features
Arsenal, and Rivals work with this script
Executors
Xeno | Solara | Velocity | Swift | Wave | AWP.GG | etc...
Do not use in games that use custom player models (Not from the marketplace, games with imported player models that doesn't use R6 or R15)
Script Code
-- Services
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
-- Local Player
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
local camera = workspace.CurrentCamera
-- Stored values for sliders
local currentWalkspeed = 16
local currentJumpPower = 50
local flightSpeed = 50
-- Debug: Confirm script is running
print("Assume GUI script started")
-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AssumeGUI"
screenGui.Enabled = true
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
print("ScreenGui created")
-- Create Loading Screen
local loadingFrame = Instance.new("Frame")
loadingFrame.Size = UDim2.new(1, 0, 1, 0)
loadingFrame.BackgroundColor3 = Color3.fromRGB(0, 120, 255) -- Blue
loadingFrame.BackgroundTransparency = 0
loadingFrame.ZIndex = 10
loadingFrame.Parent = screenGui
print("Loading frame created")
local loadingText = Instance.new("TextLabel")
loadingText.Size = UDim2.new(0.5, 0, 0.1, 0)
loadingText.Position = UDim2.new(0.25, 0, 0.45, 0)
loadingText.BackgroundTransparency = 1
loadingText.Text = "Loading..."
loadingText.TextColor3 = Color3.fromRGB(255, 255, 255)
loadingText.TextScaled = true
loadingText.Font = Enum.Font.GothamBold
loadingText.ZIndex = 11
loadingText.Parent = loadingFrame
print("Loading text created")
-- Fade out loading screen after 3 seconds
task.spawn(function()
wait(3)
local tween = TweenService:Create(loadingFrame, TweenInfo.new(1), {BackgroundTransparency = 1})
tween:Play()
for _, child in ipairs(loadingFrame:GetChildren()) do
TweenService:Create(child, TweenInfo.new(1), {TextTransparency = 1}):Play()
end
tween.Completed:Connect(function()
loadingFrame:Destroy()
print("Loading screen faded out")
end)
end)
-- Create Main GUI Frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 300, 0, 460)
mainFrame.Position = UDim2.new(0.5, -150, 0.5, -230)
mainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) -- Dark gray
mainFrame.BorderSizePixel = 0
mainFrame.ZIndex = 5
mainFrame.Parent = screenGui
print("Main frame created")
-- Make GUI Draggable
local dragging
local dragInput
local dragStart
local startPos
mainFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
mainFrame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement and dragging then
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
-- Title Bar
local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1, 0, 0, 40)
titleBar.BackgroundColor3 = Color3.fromRGB(0, 120, 255) -- Blue
titleBar.BorderSizePixel = 0
titleBar.ZIndex = 6
titleBar.Parent = mainFrame
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 1, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Assume GUI"
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.TextScaled = true
titleLabel.Font = Enum.Font.GothamBold
titleLabel.ZIndex = 7
titleLabel.Parent = titleBar
print("Title bar created")
-- Function to create a slider
local function createSlider(name, min, max, default, callback)
local sliderFrame = Instance.new("Frame")
sliderFrame.Size = UDim2.new(0.9, 0, 0, 50)
sliderFrame.Position = UDim2.new(0.05, 0, 0, 60 + (#mainFrame:GetChildren() - 1) * 60)
sliderFrame.BackgroundTransparency = 1
sliderFrame.ZIndex = 5
sliderFrame.Parent = mainFrame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0.5, 0, 0, 20)
label.BackgroundTransparency = 1
label.Text = name .. ": " .. tostring(default)
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextScaled = true
label.Font = Enum.Font.Gotham
label.ZIndex = 6
label.Parent = sliderFrame
local sliderBar = Instance.new("Frame")
sliderBar.Size = UDim2.new(1, 0, 0, 10)
sliderBar.Position = UDim2.new(0, 0, 0, 30)
sliderBar.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
sliderBar.BorderSizePixel = 0
sliderBar.ZIndex = 6
sliderBar.Parent = sliderFrame
local sliderButton = Instance.new("TextButton")
sliderButton.Size = UDim2.new(0, 20, 0, 20)
sliderButton.Position = UDim2.new((default - min) / (max - min), -10, 0, 25)
sliderButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255)
sliderButton.Text = ""
sliderButton.ZIndex = 7
sliderButton.Parent = sliderFrame
local draggingSlider = false
sliderButton.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
draggingSlider = true
end
end)
sliderButton.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
draggingSlider = false
end
end)
UserInputService.InputChanged:Connect(function(input)
if draggingSlider and input.UserInputType == Enum.UserInputType.MouseMovement then
local relativeX = math.clamp((input.Position.X - sliderBar.AbsolutePosition.X) / sliderBar.AbsoluteSize.X, 0, 1)
sliderButton.Position = UDim2.new(relativeX, -10, 0, 25)
local value = min + (max - min) * relativeX
value = math.floor(value + 0.5) -- Round to nearest integer
label.Text = name .. ": " .. tostring(value)
callback(value)
end
end)
print("Slider created: " .. name)
end
-- Function to create a toggle button
local function createToggle(name, default, callback)
local toggleFrame = Instance.new("Frame")
toggleFrame.Size = UDim2.new(0.9, 0, 0, 50)
toggleFrame.Position = UDim2.new(0.05, 0, 0, 60 + (#mainFrame:GetChildren() - 1) * 60)
toggleFrame.BackgroundTransparency = 1
toggleFrame.ZIndex = 5
toggleFrame.Parent = mainFrame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0.5, 0, 0, 20)
label.BackgroundTransparency = 1
label.Text = name .. ": " .. (default and "On" or "Off")
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextScaled = true
label.Font = Enum.Font.Gotham
label.ZIndex = 6
label.Parent = toggleFrame
local toggleButton = Instance.new("TextButton")
toggleButton.Size = UDim2.new(0, 50, 0, 30)
toggleButton.Position = UDim2.new(0.7, 0, 0, 10)
toggleButton.BackgroundColor3 = default and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
toggleButton.Text = default and "On" or "Off"
toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
toggleButton.Font = Enum.Font.Gotham
toggleButton.ZIndex = 7
toggleButton.Parent = toggleFrame
toggleButton.MouseButton1Click:Connect(function()
default = not default
toggleButton.BackgroundColor3 = default and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
toggleButton.Text = default and "On" or "Off"
label.Text = name .. ": " .. (default and "On" or "Off")
callback(default)
end)
print("Toggle created: " .. name)
end
-- Persistent Humanoid Updates
RunService.Heartbeat:Connect(function()
if humanoid then
humanoid.WalkSpeed = currentWalkspeed
humanoid.JumpPower = currentJumpPower
end
end)
-- Hitbox Expander
local originalSizes = {}
createSlider("Hitbox Size", 1, 5, 1, function(value)
for _, p in ipairs(Players:GetPlayers()) do
if p ~= player and p.Character then
for _, part in ipairs(p.Character:GetChildren()) do
if part:IsA("BasePart") then
if not originalSizes[part] then
originalSizes[part] = part.Size
end
part.Size = originalSizes[part] * value
part.CanCollide = false -- Prevent physics issues
end
end
end
end
end)
-- ESP
local highlights = {}
createToggle("ESP", false, function(enabled)
for _, p in ipairs(Players:GetPlayers()) do
if p ~= player and p.Character then
if enabled then
local highlight = Instance.new("Highlight")
highlight.FillTransparency = 1
highlight.OutlineColor = Color3.fromRGB(0, 120, 255)
highlight.Parent = p.Character
highlights[p] = highlight
else
if highlights[p] then
highlights[p]:Destroy()
highlights[p] = nil
end
end
end
end
end)
-- Flight
local bodyVelocity
createToggle("Flight", false, function(enabled)
if enabled then
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.Parent = rootPart
spawn(function()
while bodyVelocity and bodyVelocity.Parent do
local moveDirection = Vector3.new()
if UserInputService:IsKeyDown(Enum.KeyCode.W) then
moveDirection = moveDirection + (workspace.CurrentCamera.CFrame.LookVector * flightSpeed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then
moveDirection = moveDirection - (workspace.CurrentCamera.CFrame.LookVector * flightSpeed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then
moveDirection = moveDirection - (workspace.CurrentCamera.CFrame.RightVector * flightSpeed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then
moveDirection = moveDirection + (workspace.CurrentCamera.CFrame.RightVector * flightSpeed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
moveDirection = moveDirection + Vector3.new(0, flightSpeed, 0)
end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
moveDirection = moveDirection - Vector3.new(0, flightSpeed, 0)
end
bodyVelocity.Velocity = moveDirection
wait()
end
end)
else
if bodyVelocity then
bodyVelocity:Destroy()
bodyVelocity = nil
end
end
end)
-- Flight Speed Slider
createSlider("Flight Speed", 10, 100, 50, function(value)
flightSpeed = value
end)
-- Walkspeed Slider
createSlider("Walkspeed", 16, 100, 16, function(value)
currentWalkspeed = value
end)
-- Jump Power Slider
createSlider("Jump Power", 50, 200, 50, function(value)
currentJumpPower = value
end)
-- Aimbot
local aimbotEnabled = false
createToggle("Aimbot", false, function(enabled)
aimbotEnabled = enabled
end)
-- Aimbot Logic
local function getNearestEnemy()
local maxDistance = 100 -- Max range for aimbot (studs)
local nearestEnemy = nil
local nearestDistance = maxDistance
for _, p in ipairs(Players:GetPlayers()) do
if p ~= player and p.Character and p.Character:FindFirstChild("Head") and p.Team ~= player.Team then
local distance = (p.Character.Head.Position - rootPart.Position).Magnitude
if distance < nearestDistance then
nearestDistance = distance
nearestEnemy = p.Character.Head
end
end
end
return nearestEnemy
end
UserInputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton2 and aimbotEnabled then
local connection
connection = RunService.RenderStepped:Connect(function()
if not aimbotEnabled or not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
connection:Disconnect()
return
end
local target = getNearestEnemy()
if target then
camera.CFrame = CFrame.new(camera.CFrame.Position, target.Position)
end
end)
end
end)
-- Handle character respawn
player.CharacterAdded:Connect(function(newCharacter)
character = newCharacter
humanoid = character:WaitForChild("Humanoid")
rootPart = character:WaitForChild("HumanoidRootPart")
-- Reset flight
if bodyVelocity then
bodyVelocity:Destroy()
bodyVelocity = nil
end
-- Reset hitboxes
for part, size in pairs(originalSizes) do
if part.Parent then
part.Size = size
end
end
originalSizes = {}
-- Reapply Walkspeed and Jump Power
humanoid.WalkSpeed = currentWalkspeed
humanoid.JumpPower = currentJumpPower
print("Character respawned, reapplied Walkspeed and Jump Power")
end)
-- Handle player joining/leaving for ESP
Players.PlayerAdded:Connect(function(p)
if highlights[p] then
highlights[p]:Destroy()
highlights[p] = nil
end
end)
-- Ensure GUI is enabled after character load
player.CharacterAppearanceLoaded:Connect(function()
screenGui.Enabled = true
print("Character loaded, GUI enabled")
end)
Comments (0)
Please login to comment
Login with Discord
Loading comments...