Universal Script 📌
446 Views
14 Executions

Script 6 games

Universal Script 📌
hsengames0
hsengames0Published 10
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

Script

View Raw
--// خدمات وروابط
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")

--// إنشاء ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ScriptHubGUI"
ScreenGui.Parent = player:WaitForChild("PlayerGui")

--// زر فتح/غلق القائمة
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ToggleButton"
ToggleButton.Text = "☰"
ToggleButton.Size = UDim2.new(0,40,0,40)
ToggleButton.Position = UDim2.new(0,180,0,0)
ToggleButton.BackgroundColor3 = Color3.fromRGB(50,50,50)
ToggleButton.TextColor3 = Color3.fromRGB(255,255,255)
ToggleButton.Parent = ScreenGui
local UICornerToggle = Instance.new("UICorner")
UICornerToggle.CornerRadius = UDim.new(0,5)
UICornerToggle.Parent = ToggleButton

--// إطار القائمة الرئيسية
local Frame = Instance.new("Frame")
Frame.Name = "MainFrame"
Frame.Size = UDim2.new(0,500,0,400)
Frame.Position = UDim2.new(0,180,0,50)
Frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
Frame.Parent = ScreenGui
local UICorner = Instance.new("UICorner")
UICorner.Parent = Frame

--// سحب وتحريك القائمة
local dragging = false
local dragInput, mousePos, framePos
Frame.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		dragging = true
		mousePos = input.Position


Comments

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

More universal scripts

See all
Universal Script 📌
48
1
Approved 2 hours ago
Script hub
204
1.1k
Bumped 4 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
222.1k
Bumped 4 hours ago
Key System
Script hub
10.7k
203.7k
Bumped 5 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.4k
301.1k
Bumped 8 hours ago