Universal Script 📌
9.9k Views
316 Executions

m00pkidd private Gui fanmade by B00GKIDZ

Universal Script 📌
B00GKIDZReal
B00GKIDZRealFirst script
2 years 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

M00PKIDD

View Raw
-- Crea una ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "m00pkiddPrivateGui"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Crea un Frame principal
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 400, 0, 300)
mainFrame.Position = UDim2.new(0.5, -200, 0.5, -150)
mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Azul
mainFrame.BorderSizePixel = 0
mainFrame.Active = true -- Necesario para permitir el movimiento
mainFrame.Draggable = false -- Lo manejaremos manualmente
mainFrame.Parent = screenGui

-- Variables para arrastrar el GUI
local dragging = false
local dragStart
local startPos

-- Detectar cuando el usuario comienza a deslizar
mainFrame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = mainFrame.Position
    end
end)

-- Detectar cuando el usuario deja de deslizar
mainFrame.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = false
    end
end)

-- Actualizar la posición del GUI mientras se desliza
mainFrame.InputChanged:Connect(function(input)
    if dragging and (input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseMovement) then
        local delta = input.Position - dragStart


Comments

2
Log in to join the conversation. Login
jackbuzzzzz's profile picture
jackbuzzzzz2 years ago(edited)

client!

1
B00GKIDZReal's profile picture
B00GKIDZRealUploader2 years ago(edited)

Lol

1

More universal scripts

See all
Universal Script 📌
5.7k
17.4k
Bumped 46 minutes ago
Universal Script 📌
81
7
Approved 2 hours ago
Universal Script 📌
333.4k
40.2k
Bumped 3 hours ago
Universal Script 📌
2.6k
13.1k
Bumped 3 hours ago
Key System