
841 Views
1.1k Executions
Dylanbloxia93
Universal Script 📌
tocasidali20Published 5
11 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
People been doubting me about making a GI while I did it and you can use it you're not a skid you're the best honestly just use my script and there is nothing about it that's about me so I made this for everybody so good job and hope you get a good July use GROK AI if you can't
local player = game.Players.LocalPlayer
-- Main ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "dylanbloxia93_gui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
-- Main Frame
local main = Instance.new("Frame")
main.Parent = gui
main.Size = UDim2.fromScale(0.35, 0.58)
main.AnchorPoint = Vector2.new(0.5, 0.5)
main.Position = UDim2.fromScale(0.5, 0.5)
main.BackgroundColor3 = Color3.fromRGB(18,18,18)
main.BorderSizePixel = 0
Instance.new("UICorner", main).CornerRadius = UDim.new(0,16)
-- Draggable for main GUI
local dragging = false
local dragInput, dragStart, startPos
main.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = main.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
main.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







