Universal Script 📌
1.3k Views
1.3k Executions

Universal FE gui V1

Universal Script 📌
Fsfs2522
Fsfs2522First script
10 months 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

Something specail

View Raw
--// Universal Hub FINAL (FULL + STABLE)

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UIS = game:GetService("UserInputService")
local lp = Players.LocalPlayer

--------------------------------------------------
-- GUI
--------------------------------------------------
local gui = Instance.new("ScreenGui")
gui.Name = "UniversalHub"
gui.ResetOnSpawn = false
gui.Parent = lp:WaitForChild("PlayerGui")

local accentColor = Color3.fromRGB(255,0,200)
local RGBEnabled = false

--------------------------------------------------
-- DRAG FUNCTION (PC + MOBILE)
--------------------------------------------------
local function makeDraggable(frame)
	local dragging, dragStart, startPos

	frame.InputBegan:Connect(function(input)
		if input.UserInputType == Enum.UserInputType.MouseButton1
		or input.UserInputType == Enum.UserInputType.Touch then
			dragging = true
			dragStart = input.Position
			startPos = frame.Position

			input.Changed:Connect(function()
				if input.UserInputState == Enum.UserInputState.End then
					dragging = false
				end
			end)
		end
	end)

	UIS.InputChanged:Connect(function(input)


Comments

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

More universal scripts

See all
Universal Script 📌
136
522
Bumped 21 minutes ago
Universal Script 📌
1.5k
30.2k
Bumped 22 minutes ago
Script hub
4.1M
558.5k
Bumped 45 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script 📌
339.0k
75.0k
Bumped 3 hours ago
Script hub
462.0k
990.4k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!