-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloader.lua
More file actions
67 lines (59 loc) · 2.44 KB
/
Copy pathloader.lua
File metadata and controls
67 lines (59 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
local TweenService = game:GetService("TweenService")
local StarterGui = game:GetService("StarterGui")
-- Creamos la ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
screenGui.ResetOnSpawn = false
-- Pestaña principal
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0.5, 0, 0.3, 0)
mainFrame.Position = UDim2.new(0.25, 0, 1, 0) -- Fuera de pantalla abajo
mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
-- Título
local title = Instance.new("TextLabel")
title.Text = "Verificación del Hub"
title.Size = UDim2.new(1, 0, 0.3, 0)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundTransparency = 1
title.Font = Enum.Font.GothamBold
title.TextSize = 28
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Parent = mainFrame
-- Subtexto
local subtitle = Instance.new("TextLabel")
subtitle.Text = "Comprobando compatibilidad..."
subtitle.Size = UDim2.new(1, 0, 0.3, 0)
subtitle.Position = UDim2.new(0, 0, 0.35, 0)
subtitle.BackgroundTransparency = 1
subtitle.Font = Enum.Font.Gotham
subtitle.TextSize = 20
subtitle.TextColor3 = Color3.fromRGB(180, 180, 180)
subtitle.Parent = mainFrame
-- Icono de estado
local statusIcon = Instance.new("ImageLabel")
statusIcon.Size = UDim2.new(0, 50, 0, 50)
statusIcon.Position = UDim2.new(0.5, -25, 0.7, 0)
statusIcon.BackgroundTransparency = 1
statusIcon.Image = "https://raw.githubusercontent.com/KarmaDevplacer/Editor-Hub/refs/heads/main/37%20sin%20t%C3%ADtulo_20250426141713.png" -- AQUI pones la imagen de palomita o error
statusIcon.Parent = mainFrame
-- Animación de aparición
local appearTween = TweenService:Create(mainFrame, TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
Position = UDim2.new(0.25, 0, 0.35, 0)
})
appearTween:Play()
-- Después de animación: hacer la verificación
appearTween.Completed:Connect(function()
-- AQUI verificamos compatibilidad
local compatible = true -- cambiar dinámicamente
if compatible then
subtitle.Text = "Compatible: ¡Listo para usar!"
statusIcon.Image = ""
-- (opcional) efecto de resplandor verde
else
subtitle.Text = "Error: Este juego no es compatible."
statusIcon.Image = "https://raw.githubusercontent.com/KarmaDevplacer/Editor-Hub/refs/heads/main/37%20sin%20t%C3%ADtulo_20250426145246.png"
-- (opcional) efecto de parpadeo rojo
end
end)