--[[ UNLOCK CHARACTER - GUI by Redsky ]] local player = game.Players.LocalPlayer -- ========== REMOTE ========== local remote = nil local character = player.Character if character then local changeChar = character:FindFirstChild("Change Character") if changeChar then remote = changeChar:FindFirstChild("ChangeCharacter") end end if not remote then for _, obj in pairs(player:GetDescendants()) do if obj:IsA("RemoteEvent") and obj.Name == "ChangeCharacter" then remote = obj break end end end -- ========== GUI ========== local gui = Instance.new("ScreenGui") gui.Name = "UnlockCharacter" gui.Parent = player:WaitForChild("PlayerGui") gui.ResetOnSpawn = false -- ========== TOGGLE BUTTON ========== local toggleBtn = Instance.new("TextButton") toggleBtn.Parent = gui toggleBtn.BackgroundColor3 = Color3.fromRGB(80, 20, 120) toggleBtn.Position = UDim2.new(0.01, 0, 0.5, -25) toggleBtn.Size = UDim2.new(0, 50, 0, 50) toggleBtn.Font = Enum.Font.GothamBold toggleBtn.Text = "👑" toggleBtn.TextColor3 = Color3.fromRGB(255, 215, 0) toggleBtn.TextSize = 24 toggleBtn.ZIndex = 100 local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(1, 0) toggleCorner.Parent = toggleBtn -- ========== MAIN FRAME ========== local mainFrame = Instance.new("Frame") mainFrame.Parent = gui mainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 30) mainFrame.Position = UDim2.new(0.08, 0, 0.5, -120) mainFrame.Size = UDim2.new(0, 250, 0, 240) mainFrame.Visible = true mainFrame.ZIndex = 10 local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 10) mainCorner.Parent = mainFrame -- ========== TITLE ========== local title = Instance.new("TextLabel") title.Parent = mainFrame title.BackgroundColor3 = Color3.fromRGB(80, 30, 120) title.Size = UDim2.new(1, 0, 0, 30) title.Font = Enum.Font.GothamBold title.Text = "👑 UNLOCK CHARACTER" title.TextColor3 = Color3.fromRGB(255, 215, 0) title.TextSize = 12 title.ZIndex = 11 local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 10) titleCorner.Parent = title -- ========== CLOSE BUTTON ========== local closeBtn = Instance.new("TextButton") closeBtn.Parent = title closeBtn.BackgroundColor3 = Color3.fromRGB(100, 30, 30) closeBtn.Position = UDim2.new(1, -24, 0.05, 0) closeBtn.Size = UDim2.new(0, 20, 0, 20) closeBtn.Font = Enum.Font.GothamBold closeBtn.Text = "X" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextSize = 10 closeBtn.ZIndex = 12 local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 4) closeCorner.Parent = closeBtn closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end) -- ========== SECTION 1: ADMIN CHARACTERS ========== local adminLabel = Instance.new("TextLabel") adminLabel.Parent = mainFrame adminLabel.BackgroundTransparency = 1 adminLabel.Position = UDim2.new(0, 0, 0.15, 0) adminLabel.Size = UDim2.new(1, 0, 0, 15) adminLabel.Font = Enum.Font.GothamBold adminLabel.Text = "✦ ADMIN CHARACTERS ✦" adminLabel.TextColor3 = Color3.fromRGB(255, 100, 100) adminLabel.TextSize = 9 adminLabel.ZIndex = 15 -- ========== FUNCTIONS ========== local function unlockCharacter(charName) if remote then pcall(function() remote:FireServer(charName) game.StarterGui:SetCore("SendNotification", { Title = "👑 Unlock Character", Text = "✓ " .. charName .. " Unlocked!", Duration = 2 }) end) else game.StarterGui:SetCore("SendNotification", { Title = "👑 Unlock Character", Text = "✗ Remote not found!", Duration = 2 }) end end -- ========== BUTTON 1: BACON (ADMIN) ========== local btn1 = Instance.new("TextButton") btn1.Parent = mainFrame btn1.BackgroundColor3 = Color3.fromRGB(200, 150, 80) btn1.Position = UDim2.new(0.08, 0, 0.22, 0) btn1.Size = UDim2.new(0.84, 0, 0.17, 0) btn1.Font = Enum.Font.GothamBold btn1.Text = "🥓 BACON" btn1.TextColor3 = Color3.fromRGB(255, 255, 255) btn1.TextSize = 13 btn1.ZIndex = 15 local btn1Corner = Instance.new("UICorner") btn1Corner.CornerRadius = UDim.new(0, 8) btn1Corner.Parent = btn1 btn1.MouseButton1Click:Connect(function() unlockCharacter("Bacon") end) btn1.MouseEnter:Connect(function() btn1.BackgroundTransparency = 0.1 end) btn1.MouseLeave:Connect(function() btn1.BackgroundTransparency = 0 end) -- ========== BUTTON 2: ECLIPSE (ADMIN) ========== local btn2 = Instance.new("TextButton") btn2.Parent = mainFrame btn2.BackgroundColor3 = Color3.fromRGB(80, 80, 200) btn2.Position = UDim2.new(0.08, 0, 0.42, 0) btn2.Size = UDim2.new(0.84, 0, 0.17, 0) btn2.Font = Enum.Font.GothamBold btn2.Text = "🌑 ECLIPSE" btn2.TextColor3 = Color3.fromRGB(255, 255, 255) btn2.TextSize = 13 btn2.ZIndex = 15 local btn2Corner = Instance.new("UICorner") btn2Corner.CornerRadius = UDim.new(0, 8) btn2Corner.Parent = btn2 btn2.MouseButton1Click:Connect(function() unlockCharacter("Eclipse") end) btn2.MouseEnter:Connect(function() btn2.BackgroundTransparency = 0.1 end) btn2.MouseLeave:Connect(function() btn2.BackgroundTransparency = 0 end) -- ========== SECTION 2: BADGE CHARACTERS ========== local badgeLabel = Instance.new("TextLabel") badgeLabel.Parent = mainFrame badgeLabel.BackgroundTransparency = 1 badgeLabel.Position = UDim2.new(0, 0, 0.62, 0) badgeLabel.Size = UDim2.new(1, 0, 0, 15) badgeLabel.Font = Enum.Font.GothamBold badgeLabel.Text = "✦ BADGE CHARACTERS ✦" badgeLabel.TextColor3 = Color3.fromRGB(255, 200, 100) badgeLabel.TextSize = 9 badgeLabel.ZIndex = 15 -- ========== BUTTON 3: GOKU (BADGE) ========== local btn3 = Instance.new("TextButton") btn3.Parent = mainFrame btn3.BackgroundColor3 = Color3.fromRGB(200, 80, 50) btn3.Position = UDim2.new(0.08, 0, 0.7, 0) btn3.Size = UDim2.new(0.84, 0, 0.17, 0) btn3.Font = Enum.Font.GothamBold btn3.Text = "🐉 GOKU" btn3.TextColor3 = Color3.fromRGB(255, 255, 255) btn3.TextSize = 13 btn3.ZIndex = 15 local btn3Corner = Instance.new("UICorner") btn3Corner.CornerRadius = UDim.new(0, 8) btn3Corner.Parent = btn3 btn3.MouseButton1Click:Connect(function() unlockCharacter("Goku") end) btn3.MouseEnter:Connect(function() btn3.BackgroundTransparency = 0.1 end) btn3.MouseLeave:Connect(function() btn3.BackgroundTransparency = 0 end) -- ========== BUTTON 4: TODO (BADGE) ========== local btn4 = Instance.new("TextButton") btn4.Parent = mainFrame btn4.BackgroundColor3 = Color3.fromRGB(80, 150, 80) btn4.Position = UDim2.new(0.08, 0, 0.9, 0) btn4.Size = UDim2.new(0.84, 0, 0.17, 0) btn4.Font = Enum.Font.GothamBold btn4.Text = "🔮 TODO" btn4.TextColor3 = Color3.fromRGB(255, 255, 255) btn4.TextSize = 13 btn4.ZIndex = 15 local btn4Corner = Instance.new("UICorner") btn4Corner.CornerRadius = UDim.new(0, 8) btn4Corner.Parent = btn4 btn4.MouseButton1Click:Connect(function() unlockCharacter("Todo") end) btn4.MouseEnter:Connect(function() btn4.BackgroundTransparency = 0.1 end) btn4.MouseLeave:Connect(function() btn4.BackgroundTransparency = 0 end) -- ========== STATUS ========== local statusLabel = Instance.new("TextLabel") statusLabel.Parent = mainFrame statusLabel.BackgroundTransparency = 1 statusLabel.Position = UDim2.new(0, 0, 0.95, 0) statusLabel.Size = UDim2.new(1, 0, 0, 12) statusLabel.Font = Enum.Font.Code statusLabel.Text = "READY" statusLabel.TextColor3 = Color3.fromRGB(100, 255, 150) statusLabel.TextSize = 8 -- ========== OPEN/CLOSE ========== local isOpen = true toggleBtn.MouseButton1Click:Connect(function() if isOpen then mainFrame.Visible = false isOpen = false else mainFrame.Visible = true isOpen = true end end) -- ========== DRAG ========== local dragF = false local ds, fs mainFrame.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 and i.Position.Y - mainFrame.AbsolutePosition.Y <= 30 then dragF = true ds = i.Position fs = mainFrame.Position end end) mainFrame.InputEnded:Connect(function() dragF = false end) game:GetService("UserInputService").InputChanged:Connect(function(i) if dragF and i.UserInputType == Enum.UserInputType.MouseMovement then local d = i.Position - ds mainFrame.Position = UDim2.new(fs.X.Scale, fs.X.Offset + d.X, fs.Y.Scale, fs.Y.Offset + d.Y) end end) -- ========== INIT ========== game.StarterGui:SetCore("SendNotification", { Title = "👑 Unlock Character", Text = "ADMIN: Bacon, Eclipse | BADGE: Goku, Todo", Duration = 3 }) print("[Redsky] Unlock Character Loaded") print("[Redsky] ADMIN: Bacon, Eclipse") print("[Redsky] BADGE: Goku, Todo")