local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- ScreenGui local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "Gui9999" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = playerGui -- Frame local Frame = Instance.new("Frame") Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.new(1, 1, 1) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0.618693113, 7, 0.852904797, -258) Frame.Rotation = 1 Frame.Size = UDim2.new(0, 246, 0, 109) -- TextBox local TextBox = Instance.new("TextBox") TextBox.Parent = Frame TextBox.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255) TextBox.BorderSizePixel = 0 TextBox.Position = UDim2.new(0, 0, 0.376146793, 0) TextBox.Size = UDim2.new(0, 246, 0, 68) TextBox.ClearTextOnFocus = false TextBox.Font = Enum.Font.SourceSans TextBox.Text = "type in me!" TextBox.TextColor3 = Color3.new(0, 0, 0) TextBox.TextSize = 27 -- TextLabel local TextLabel = Instance.new("TextLabel") TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel.BorderSizePixel = 0 TextLabel.Position = UDim2.new(0.0243865084, 0, 0.164176613, 0) TextLabel.Size = UDim2.new(0, 200, 0, 23) TextLabel.Font = Enum.Font.SourceSans TextLabel.TextColor3 = Color3.new(0, 0, 0) TextLabel.TextSize = 14 -- Close button local close = Instance.new("TextButton") close.Name = "close" close.Parent = Frame close.BackgroundColor3 = Color3.new(1, 1, 1) close.BorderSizePixel = 0 close.Position = UDim2.new(0.83739835, 0, 0, 0) close.Size = UDim2.new(0, 40, 0, 41) close.Font = Enum.Font.SourceSans close.Text = "x" close.TextColor3 = Color3.new(0, 0, 0) close.TextScaled = true close.TextWrapped = true -- Set player name TextLabel.Text = player.Name .. " gui 9999 v56" -- Send textbox text to server TextBox.FocusLost:Connect(function(enterPressed) if enterPressed then ReplicatedStorage["01_server"]:FireServer("cmd", TextBox.Text) TextBox.Text = "" end end) -- Close GUI close.MouseButton1Click:Connect(function() ScreenGui:Destroy() end)