Universal Script 📌
4.2k Views
1.4k Executions

OOP

Universal Script 📌
yazan1_2_3
yazan1_2_310K executions
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

777

View Raw
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

-- واجهة GUI
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "DemoZ_Yazan_GUI"

local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 300, 0, 350)
frame.Position = UDim2.new(0.5, -150, 0.5, -175)
frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
frame.BorderSizePixel = 0

local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 50)
title.Text = "🔮 سكربت DemoZ - يزن"
title.Font = Enum.Font.Fantasy
title.TextScaled = true
title.TextColor3 = Color3.fromRGB(255, 255, 0)
title.BackgroundColor3 = Color3.fromRGB(128, 0, 128)

-- وظيفة إنشاء زر
local function createButton(text, yPos, callback)
    local button = Instance.new("TextButton", frame)
    button.Size = UDim2.new(0.8, 0, 0, 40)
    button.Position = UDim2.new(0.1, 0, 0, yPos)
    button.Text = text
    button.Font = Enum.Font.SourceSansBold
    button.TextScaled = true
    button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
    button.TextColor3 = Color3.fromRGB(255, 255, 255)
    button.MouseButton1Click:Connect(callback)
end

-- 🧊 زر التجميد
createButton("🧊 تجميد اللاعبين", 60, function()
    for _, plr in pairs(game.Players:GetPlayers()) do
        if plr ~= player and plr.Character and (plr.Character.PrimaryPart.Position - character.PrimaryPart.Position).Magnitude < 20 then
            local hum = plr.Character:FindFirstChildOfClass("Humanoid")
            if hum then hum.WalkSpeed = 0 hum.JumpPower = 0 end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
178.9k
1.7M
Bumped 4 hours ago
Key System
Universal Script 📌
9.2k
31.9k
Bumped 5 hours ago
Script hub
49.9k
12.4k
Bumped 6 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 11 hours ago
Key System
Script hub
20.7k
4.0k
Bumped 11 hours ago
Key System
Paid
Universal Script 📌
759
232
Approved 17 hours ago
Universal Script 📌
665
2.9k
Approved 17 hours ago