Universal Script 📌
434 Views
233 Executions

Insert Part GUI

Universal Script 📌
MysteryHackerY
MysteryHackerY10K executions
11 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

Insert Part GUI (CLIENT)

View Raw
if game:GetService("CoreGui"):FindFirstChild("InsertPartGUI") then
    game:GetService("CoreGui"):FindFirstChild("InsertPartGUI"):Destroy()
end

local gui = Instance.new("ScreenGui")
gui.Name = "InsertPartGUI"
gui.Parent = game:GetService("CoreGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 350, 0, 350)
frame.Position = UDim2.new(0.5, -175, 0.5, -175)
frame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
frame.BorderSizePixel = 0
frame.Parent = gui

task.spawn(function()
    while frame do
        for i = 0, 255, 3 do
            frame.BackgroundColor3 = Color3.fromRGB(0, i, 0)
            task.wait(0.01)
        end
        for i = 255, 0, -3 do
            frame.BackgroundColor3 = Color3.fromRGB(0, i, 0)
            task.wait(0.01)
        end
    end
end)

local UIS = game:GetService("UserInputService")
local dragging, dragStart, startPos

local function drag(input)
    dragging = true
    dragStart = input.Position
    startPos = frame.Position
end

frame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1
    or input.UserInputType == Enum.UserInputType.Touch then


Comments

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