local player = game.Players.LocalPlayer -- ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") -- Hauptfenster local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 200) frame.Position = UDim2.new(0.5, -150, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) frame.BorderSizePixel = 2 frame.Active = true frame.Draggable = true frame.Parent = screenGui -- Titel local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 40) title.BackgroundColor3 = Color3.fromRGB(230, 230, 230) title.Text = "Admin Panel" title.TextScaled = true title.Parent = frame -- Button local button = Instance.new("TextButton") button.Size = UDim2.new(0.8, 0, 0, 50) button.Position = UDim2.new(0.1, 0, 0.5, -25) button.Text = "Check Status" button.TextScaled = true button.BackgroundColor3 = Color3.fromRGB(200, 200, 200) button.Parent = frame -- Nachricht local message = Instance.new("TextLabel") message.Size = UDim2.new(1, 0, 0, 40) message.Position = UDim2.new(0, 0, 1, -40) message.BackgroundTransparency = 1 message.Text = "" message.TextScaled = true message.TextColor3 = Color3.fromRGB(0, 150, 0) message.Parent = frame -- Button Funktion button.MouseButton1Click:Connect(function() message.Text = "Status erfolgreich überprüft!" end)