Universal Script πŸ“Œ
745 Views
2.1k Executions

Stigma ultimate by 00de0l

Universal Script πŸ“Œ
007n7_hax
007n7_haxFirst script
4 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

.

View Raw
local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 550, 0, 23)
frame.Position = UDim2.new(0.305, 0, 0.1, 0)
frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
frame.BorderSizePixel = 1
frame.BorderColor3 = Color3.fromRGB(221, 221, 221)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

local UserInputService = game:GetService("UserInputService")

local gui = frame

local dragging
local dragInput
local dragStart
local startPos

local function update(input)
	local delta = input.Position - dragStart
	gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end

gui.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		dragging = true
		dragStart = input.Position
		startPos = gui.Position
		
		input.Changed:Connect(function()
			if input.UserInputState == Enum.UserInputState.End then
				dragging = false
			end
		end)
	end


Comments

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

More universal scripts

See all
Universal Script πŸ“Œ
20
0
Approved 25 minutes ago
Script hub
192
991
Bumped 3 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.3k
Bumped 3 hours ago
Key System
Script hub
10.7k
201.7k
Bumped 3 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
300.4k
Bumped 6 hours ago
Script hub
23.8k
5.3k
Bumped 6 hours ago
Key System
Paid
High QualityΒ Offering