0% found this document useful (0 votes)
3 views6 pages

Aston GUI Commands for Roblox

The document is a Lua script for a Roblox game that creates a GUI for executing various commands related to player actions, such as changing speed, jump power, and enabling ESP (Extra Sensory Perception) features. It includes functions for player interaction, such as 'Bang' which allows a player to attach to another player, and 'Noclip' which enables passing through walls. The script also handles player input and updates the character's properties upon death.

Uploaded by

zoldekvirus
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views6 pages

Aston GUI Commands for Roblox

The document is a Lua script for a Roblox game that creates a GUI for executing various commands related to player actions, such as changing speed, jump power, and enabling ESP (Extra Sensory Perception) features. It includes functions for player interaction, such as 'Bang' which allows a player to attach to another player, and 'Noclip' which enables passing through walls. The script also handles player input and updates the character's properties upon death.

Uploaded by

zoldekvirus
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- ‫الخدمات‬

local Players = game:GetService("Players")


local Player = [Link]
local Character = [Link] or [Link]:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local Prefix = "+"

-- ‫دالة الحصول على العب باالسم أو االسم الظاهر‬


local function getPlayerByName(name)
for _, plr in pairs(Players:GetPlayers()) do
if [Link]:lower():sub(1, #name) == name:lower() or
[Link]:lower():sub(1, #name) == name:lower() then
return plr
end
end
end

-- ‫ واجهة‬GUI
local screenGui = [Link]("ScreenGui", [Link])
[Link] = "AstonGUI"

local mainFrame = [Link]("Frame", screenGui)


[Link] = "MainFrame"
[Link] = [Link](0, 420, 0, 360)
[Link] = [Link](0.5, -210, 0.5, -180)
mainFrame.BackgroundColor3 = [Link](120, 0, 0)
[Link] = 0.3
[Link] = true
[Link] = true
[Link] = 0
[Link] = true
[Link] = false

local UICornerMain = [Link]("UICorner", mainFrame)


[Link] = [Link](0, 12)

local titleLabel = [Link]("TextLabel", mainFrame)


[Link] = [Link](1, 0, 0, 40)
[Link] = 1
[Link] = "Aston"
titleLabel.TextColor3 = [Link](255, 200, 200)
[Link] = [Link]
[Link] = 28
[Link] = [Link](0, 0, 0, 0)

local closeButton = [Link]("TextButton", mainFrame)


[Link] = [Link](0, 30, 0, 30)
[Link] = [Link](0, 5, 0, 5)
[Link] = "X"
closeButton.BackgroundColor3 = [Link](140, 30, 30)
closeButton.TextColor3 = [Link](255, 255, 255)
[Link] = 0.4
[Link] = [Link]
[Link] = 18
closeButton.MouseButton1Click:Connect(function()
[Link] = false
end)

local UICornerClose = [Link]("UICorner", closeButton)


[Link] = [Link](0, 8)

local searchBox = [Link]("TextBox", mainFrame)


[Link] = "‫ابحث عن أمر‬..."
[Link] = [Link](1, -20, 0, 30)
[Link] = [Link](0, 10, 0, 50)
searchBox.BackgroundColor3 = [Link](100, 0, 0)
[Link] = 0.3
searchBox.TextColor3 = [Link](255, 255, 255)
[Link] = [Link]
[Link] = 18

local UICornerSearch = [Link]("UICorner", searchBox)


[Link] = [Link](0, 8)

local cmdsFrame = [Link]("Frame", mainFrame)


[Link] = [Link](1, -20, 1, -90)
[Link] = [Link](0, 10, 0, 90)
[Link] = 1

local UIListLayout = [Link]("UIListLayout", cmdsFrame)


[Link] = [Link]
[Link] = [Link](0, 5)

local Commands = {
"+Speed [‫ ]رقم‬- ‫"تغيير السرعة‬,
"+Jump [‫ ]رقم‬- ‫"تغيير قوة القفز‬,
"+Cmds - ‫"عرض قائمة الأوامر‬,
"+Noclip - ‫"تفعيل اختراق الجدران‬,
"+Unnoclip - ‫"تعطيل اختراق الجدران‬,
"+Esp - ‫"تفعيل رؤية الالعبين خلف الجدران‬,
"+Unesp - ‫"تعطيل الرؤية خلف الجدران‬,
"+Bang [‫ ]اسم الالعب‬- ‫"االلتصاق خلف العب‬,
"+Unbang - ‫"فك االلتصاق‬
}

for _, text in ipairs(Commands) do


local label = [Link]("TextLabel", cmdsFrame)
[Link] = [Link](1, 0, 0, 25)
[Link] = 1
[Link] = text
label.TextColor3 = [Link](255, 200, 200)
[Link] = [Link]
[Link] = 18
[Link] = [Link]
end

searchBox:GetPropertyChangedSignal("Text"):Connect(function()
local searchText = [Link]:lower()
for _, child in pairs(cmdsFrame:GetChildren()) do
if child:IsA("TextLabel") then
[Link] = (searchText == "" or
[Link]:lower():find(searchText))
end
end
end)
-- ESP
local espEnabled = false
local espFolder = [Link]("Folder")
[Link] = "ESPFolder"
[Link] = workspace

function toggleESP(state)
espEnabled = state
espFolder:ClearAllChildren()
if state then
for _, plr in ipairs(Players:GetPlayers()) do
if plr ~= Player and [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local box = [Link]("BoxHandleAdornment")
[Link] = [Link](4, 6, 1)
[Link] = [Link]
[Link] = true
[Link] = 5
box.Color3 = [Link](1,0,0)
[Link] = 0.5
[Link] = espFolder
end
end
end
end

-- Noclip
local noclip = false
[Link]:Connect(function()
if noclip and Character then
for _, part in ipairs(Character:GetDescendants()) do
if part:IsA("BasePart") and not [Link] then
[Link] = false
end
end
end
end)

-- ‫تحديث الشخصية عند الموت‬


[Link]:Connect(function(char)
Character = char
Humanoid = char:WaitForChild("Humanoid")
end)

-- ‫ متغيرات‬Bang ‫المحسنة‬
local banging = false
local bangConnection
local targetPlayerName = nil

-- ‫ دالة لبدء‬Bang
local function startBang(targetPlayer)
if not targetPlayer or not [Link] or not
[Link]:FindFirstChild("HumanoidRootPart") then
return
end

local targetHRP = [Link]:FindFirstChild("HumanoidRootPart")


local myHRP = Character and Character:FindFirstChild("HumanoidRootPart")
if myHRP and targetHRP then
if bangConnection then
bangConnection:Disconnect()
end

local offsetZ = 0
local direction = -1

bangConnection = [Link]:Connect(function()
if not banging then return end

-- ‫التحقق من وجود الالعب المستهدف‬


local currentTarget = Players:FindFirstChild(targetPlayerName)
if not currentTarget or not [Link] or not
[Link]:FindFirstChild("HumanoidRootPart") then
return
end

-- ‫التحقق من شخصيتي‬
local currentMyHRP = Character and
Character:FindFirstChild("HumanoidRootPart")
if not currentMyHRP then
return
end

local currentTargetHRP =
[Link]:FindFirstChild("HumanoidRootPart")
local targetCFrame = [Link]
local behindCFrame = targetCFrame * [Link](0, 0, 2.2)

offsetZ += direction * 0.35


if offsetZ <= -1 then
direction = 1
elseif offsetZ >= 0 then
direction = -1
end

local dynamicOffset = [Link](0, 0, offsetZ)


[Link] = [Link]((behindCFrame *
dynamicOffset).Position, [Link])
end)
end
end

-- ‫مراقبة دخول الالعبين‬


[Link]:Connect(function(player)
if banging and targetPlayerName and [Link] == targetPlayerName then
-- ‫انتظار تحميل الشخصية‬
[Link]:Connect(function()
wait(1) -- ‫انتظار قصير للتأكد من تحميل كامل‬
startBang(player)
end)
end
end)

-- ‫دالة عرض الرسالة‬


local function showMessage(text)
local messageGui = [Link]("ScreenGui", [Link])
[Link] = "MessageGui"

local messageFrame = [Link]("Frame", messageGui)


[Link] = [Link](0, 300, 0, 50)
[Link] = [Link](0.5, -150, 0, 20)
messageFrame.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 0.3
[Link] = 0

local UICorner = [Link]("UICorner", messageFrame)


[Link] = [Link](0, 10)

local messageLabel = [Link]("TextLabel", messageFrame)


[Link] = [Link](1, 0, 1, 0)
[Link] = 1
[Link] = text
messageLabel.TextColor3 = [Link](255, 255, 255)
[Link] = [Link]
[Link] = 18
[Link] = 0
messageLabel.TextStrokeColor3 = [Link](0, 0, 0)

-- ‫ ثوان‬3 ‫إخفاء الرسالة بعد‬


game:GetService("Debris"):AddItem(messageGui, 3)
end

-- ‫أوامر‬
[Link]:Connect(function(msg)
local args = msg:split(" ")
local command = args[1]:lower()

if command == Prefix.."cmds" then


[Link] = not [Link]

elseif command == Prefix.."jump" and tonumber(args[2]) then


[Link] = true
[Link] = tonumber(args[2])

elseif command == Prefix.."speed" and tonumber(args[2]) then


[Link] = tonumber(args[2])

elseif command == Prefix.."noclip" then


noclip = true

elseif command == Prefix.."unnoclip" then


noclip = false

elseif command == Prefix.."esp" then


toggleESP(true)

elseif command == Prefix.."unesp" then


toggleESP(false)

elseif command == Prefix.."bang" and args[2] then


local targetName = args[2]
local targetPlayer = getPlayerByName(targetName)

if targetPlayer then
banging = true
targetPlayerName = [Link]
startBang(targetPlayer)
showMessage("made by @xw3")
end

elseif command == Prefix.."unbang" then


banging = false
targetPlayerName = nil
if bangConnection then
bangConnection:Disconnect()
bangConnection = nil
end
end
end)

You might also like