
1.2k Views
1.1k Executions
Universal FE gui V1
Universal Script 📌
Fsfs2522First script
9 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Something specail
--// 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
0Log in to join the conversation. Login
No comments yet. Be the first!






