0% found this document useful (0 votes)
7 views5 pages

Message

The document is a Lua script for a Roblox game that creates a GUI for player commands, including speed and jump adjustments, noclip functionality, and ESP (Extra Sensory Perception) features. It allows players to search for commands and interact with other players through commands like 'bang' and 'unbang'. The script also manages character updates upon player death and includes event listeners for user inputs and command execution.

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)
7 views5 pages

Message

The document is a Lua script for a Roblox game that creates a GUI for player commands, including speed and jump adjustments, noclip functionality, and ESP (Extra Sensory Perception) features. It allows players to search for commands and interact with other players through commands like 'bang' and 'unbang'. The script also manages character updates upon player death and includes event listeners for user inputs and command execution.

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
You are on page 1/ 5

-- ‫الخدمات‬

local Players = game:GetService("Players")


local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded: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 plr.Name:lower():sub(1, #name) == name:lower() or
plr.DisplayName:lower():sub(1, #name) == name:lower() then
return plr
end
end
end

-- ‫ واجهة‬GUI
local screenGui = Instance.new("ScreenGui", game.CoreGui)
screenGui.Name = "AstonGUI"

local mainFrame = Instance.new("Frame", screenGui)


mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 420, 0, 360)
mainFrame.Position = UDim2.new(0.5, -210, 0.5, -180)
mainFrame.BackgroundColor3 = Color3.fromRGB(120, 0, 0)
mainFrame.BackgroundTransparency = 0.3
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.BorderSizePixel = 0
mainFrame.ClipsDescendants = true
mainFrame.Visible = false

local UICornerMain = Instance.new("UICorner", mainFrame)


UICornerMain.CornerRadius = UDim.new(0, 12)

local titleLabel = Instance.new("TextLabel", mainFrame)


titleLabel.Size = UDim2.new(1, 0, 0, 40)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Aston"
titleLabel.TextColor3 = Color3.fromRGB(255, 200, 200)
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.TextSize = 28
titleLabel.Position = UDim2.new(0, 0, 0, 0)

local closeButton = Instance.new("TextButton", mainFrame)


closeButton.Size = UDim2.new(0, 30, 0, 30)
closeButton.Position = UDim2.new(0, 5, 0, 5)
closeButton.Text = "X"
closeButton.BackgroundColor3 = Color3.fromRGB(140, 30, 30)
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.BackgroundTransparency = 0.4
closeButton.Font = Enum.Font.SourceSansBold
closeButton.TextSize = 18
closeButton.MouseButton1Click:Connect(function()
mainFrame.Visible = false
end)

local UICornerClose = Instance.new("UICorner", closeButton)


UICornerClose.CornerRadius = UDim.new(0, 8)

local searchBox = Instance.new("TextBox", mainFrame)


searchBox.PlaceholderText = "‫ابحث عن أمر‬..."
searchBox.Size = UDim2.new(1, -20, 0, 30)
searchBox.Position = UDim2.new(0, 10, 0, 50)
searchBox.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
searchBox.BackgroundTransparency = 0.3
searchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
searchBox.Font = Enum.Font.SourceSans
searchBox.TextSize = 18

local UICornerSearch = Instance.new("UICorner", searchBox)


UICornerSearch.CornerRadius = UDim.new(0, 8)

local cmdsFrame = Instance.new("Frame", mainFrame)


cmdsFrame.Size = UDim2.new(1, -20, 1, -90)
cmdsFrame.Position = UDim2.new(0, 10, 0, 90)
cmdsFrame.BackgroundTransparency = 1

local UIListLayout = Instance.new("UIListLayout", cmdsFrame)


UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 5)

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

for _, text in ipairs(Commands) do


local label = Instance.new("TextLabel", cmdsFrame)
label.Size = UDim2.new(1, 0, 0, 25)
label.BackgroundTransparency = 1
label.Text = text
label.TextColor3 = Color3.fromRGB(255, 200, 200)
label.Font = Enum.Font.SourceSans
label.TextSize = 18
label.TextXAlignment = Enum.TextXAlignment.Left
end

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

function toggleESP(state)
espEnabled = state
espFolder:ClearAllChildren()
if state then
for _, plr in ipairs(Players:GetPlayers()) do
if plr ~= Player and plr.Character and
plr.Character:FindFirstChild("HumanoidRootPart") then
local box = Instance.new("BoxHandleAdornment")
box.Size = Vector3.new(4, 6, 1)
box.Adornee = plr.Character.HumanoidRootPart
box.AlwaysOnTop = true
box.ZIndex = 5
box.Color3 = Color3.new(1,0,0)
box.Transparency = 0.5
box.Parent = espFolder
end
end
end
end

-- Noclip
local noclip = false
RunService.Stepped:Connect(function()
if noclip and Character then
for _, part in ipairs(Character:GetDescendants()) do
if part:IsA("BasePart") and not part.Anchored then
part.CanCollide = false
end
end
end
end)

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


Player.CharacterAdded:Connect(function(char)
Character = char
Humanoid = char:WaitForChild("Humanoid")
end)

-- ‫أوامر‬
local banging = false
local bangConnection

Player.Chatted:Connect(function(msg)
local args = msg:split(" ")
local command = args[1]:lower()

if command == Prefix.."cmds" then


mainFrame.Visible = not mainFrame.Visible

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


Humanoid.UseJumpPower = true
Humanoid.JumpPower = tonumber(args[2])
elseif command == Prefix.."speed" and tonumber(args[2]) then
Humanoid.WalkSpeed = 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 and targetPlayer.Character and


targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
local targetHRP =
targetPlayer.Character:FindFirstChild("HumanoidRootPart")
local myHRP = Character and
Character:FindFirstChild("HumanoidRootPart")

if myHRP and targetHRP then


banging = true
local offsetZ = 0
local direction = -1

bangConnection = RunService.Heartbeat:Connect(function()
if not banging or not targetHRP or not myHRP then
return end

local targetCFrame = targetHRP.CFrame


local behindCFrame = targetCFrame * CFrame.new(0, 0,
2.2)

offsetZ += direction * 0.35


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

local dynamicOffset = CFrame.new(0, 0, offsetZ)


myHRP.CFrame = CFrame.new((behindCFrame *
dynamicOffset).Position, targetHRP.Position)
end)
end
end

elseif command == Prefix.."unbang" then


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

You might also like