-- // Kitten Game by mur3ikKOToffc -- // GUI Script local Players = game:GetService("Players") local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "KittenGameGUI" ScreenGui.Parent = PlayerGui ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 320, 0, 330) MainFrame.Position = UDim2.new(0.5, -160, 0.5, -165) MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 14) UICorner.Parent = MainFrame local UIStroke = Instance.new("UIStroke") UIStroke.Color = Color3.fromRGB(25, 25, 35) UIStroke.Thickness = 2.5 UIStroke.Parent = MainFrame local TopBar = Instance.new("Frame") TopBar.Name = "TopBar" TopBar.Size = UDim2.new(1, 0, 0, 40) TopBar.BackgroundColor3 = Color3.fromRGB(45, 45, 60) TopBar.BorderSizePixel = 0 TopBar.Parent = MainFrame local UICorner_Top = Instance.new("UICorner") UICorner_Top.CornerRadius = UDim.new(0, 14) UICorner_Top.Parent = TopBar local BottomCover = Instance.new("Frame") BottomCover.Size = UDim2.new(1, 0, 0.5, 0) BottomCover.Position = UDim2.new(0, 0, 0.5, 0) BottomCover.BackgroundColor3 = Color3.fromRGB(45, 45, 60) BottomCover.BorderSizePixel = 0 BottomCover.Parent = TopBar local Title = Instance.new("TextLabel") Title.Name = "Title" Title.Size = UDim2.new(0, 200, 1, 0) Title.Position = UDim2.new(0, 55, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "Kitten Game" Title.TextColor3 = Color3.fromRGB(255, 180, 255) Title.TextSize = 18 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = TopBar local Subtitle = Instance.new("TextLabel") Subtitle.Name = "Subtitle" Subtitle.Size = UDim2.new(0, 200, 0, 12) Subtitle.Position = UDim2.new(0, 55, 0, 24) Subtitle.BackgroundTransparency = 1 Subtitle.Text = "by mur3ikKOToffc" Subtitle.TextColor3 = Color3.fromRGB(200, 150, 200) Subtitle.TextSize = 10 Subtitle.Font = Enum.Font.Gotham Subtitle.TextXAlignment = Enum.TextXAlignment.Left Subtitle.Parent = TopBar local LogoFrame = Instance.new("Frame") LogoFrame.Name = "LogoFrame" LogoFrame.Size = UDim2.new(0, 30, 0, 30) LogoFrame.Position = UDim2.new(0, 15, 0.5, -15) LogoFrame.BackgroundColor3 = Color3.fromRGB(255, 150, 200) LogoFrame.BorderSizePixel = 0 LogoFrame.Parent = TopBar local UICorner_Logo = Instance.new("UICorner") UICorner_Logo.CornerRadius = UDim.new(0, 8) UICorner_Logo.Parent = LogoFrame local LogoText = Instance.new("TextLabel") LogoText.Size = UDim2.new(1, 0, 1, 0) LogoText.BackgroundTransparency = 1 LogoText.Text = "🐱" LogoText.TextSize = 18 LogoText.Font = Enum.Font.Gotham LogoText.Parent = LogoFrame local CloseButton = Instance.new("TextButton") CloseButton.Name = "CloseButton" CloseButton.Size = UDim2.new(0, 30, 0, 30) CloseButton.Position = UDim2.new(1, -40, 0.5, -15) CloseButton.BackgroundColor3 = Color3.fromRGB(255, 80, 80) CloseButton.Text = "βœ•" CloseButton.TextColor3 = Color3.new(1, 1, 1) CloseButton.TextSize = 16 CloseButton.Font = Enum.Font.GothamBold CloseButton.Parent = TopBar local UICorner_Close = Instance.new("UICorner") UICorner_Close.CornerRadius = UDim.new(0, 8) UICorner_Close.Parent = CloseButton local MinimizeButton = Instance.new("TextButton") MinimizeButton.Name = "MinimizeButton" MinimizeButton.Size = UDim2.new(0, 30, 0, 30) MinimizeButton.Position = UDim2.new(1, -75, 0.5, -15) MinimizeButton.BackgroundColor3 = Color3.fromRGB(255, 180, 80) MinimizeButton.Text = "─" MinimizeButton.TextColor3 = Color3.new(1, 1, 1) MinimizeButton.TextSize = 18 MinimizeButton.Font = Enum.Font.GothamBold MinimizeButton.Parent = TopBar local UICorner_Min = Instance.new("UICorner") UICorner_Min.CornerRadius = UDim.new(0, 8) UICorner_Min.Parent = MinimizeButton local Hotbar = Instance.new("Frame") Hotbar.Name = "Hotbar" Hotbar.Size = UDim2.new(0, 280, 0, 45) Hotbar.Position = UDim2.new(0.5, -140, 0.5, -22) Hotbar.BackgroundColor3 = Color3.fromRGB(35, 35, 45) Hotbar.BorderSizePixel = 0 Hotbar.Active = true Hotbar.Draggable = true Hotbar.Visible = false Hotbar.Parent = ScreenGui local UICorner_Hot = Instance.new("UICorner") UICorner_Hot.CornerRadius = UDim.new(0, 14) UICorner_Hot.Parent = Hotbar local UIStroke_Hot = Instance.new("UIStroke") UIStroke_Hot.Color = Color3.fromRGB(25, 25, 35) UIStroke_Hot.Thickness = 2.5 UIStroke_Hot.Parent = Hotbar local HotbarLogo = Instance.new("Frame") HotbarLogo.Size = UDim2.new(0, 30, 0, 30) HotbarLogo.Position = UDim2.new(0, 10, 0.5, -15) HotbarLogo.BackgroundColor3 = Color3.fromRGB(255, 150, 200) HotbarLogo.BorderSizePixel = 0 HotbarLogo.Parent = Hotbar local UICorner_HLogo = Instance.new("UICorner") UICorner_HLogo.CornerRadius = UDim.new(0, 8) UICorner_HLogo.Parent = HotbarLogo local HotbarLogoText = Instance.new("TextLabel") HotbarLogoText.Size = UDim2.new(1, 0, 1, 0) HotbarLogoText.BackgroundTransparency = 1 HotbarLogoText.Text = "🐱" HotbarLogoText.TextSize = 18 HotbarLogoText.Font = Enum.Font.Gotham HotbarLogoText.Parent = HotbarLogo local HotbarText = Instance.new("TextLabel") HotbarText.Size = UDim2.new(0, 170, 1, 0) HotbarText.Position = UDim2.new(0, 50, 0, 0) HotbarText.BackgroundTransparency = 1 HotbarText.Text = "Kitten Game by mur3IKKOToffc" HotbarText.TextColor3 = Color3.fromRGB(255, 180, 255) HotbarText.TextSize = 14 HotbarText.Font = Enum.Font.GothamBold HotbarText.TextXAlignment = Enum.TextXAlignment.Left HotbarText.Parent = Hotbar local ExpandButton = Instance.new("TextButton") ExpandButton.Name = "ExpandButton" ExpandButton.Size = UDim2.new(0, 30, 0, 30) ExpandButton.Position = UDim2.new(1, -40, 0.5, -15) ExpandButton.BackgroundColor3 = Color3.fromRGB(100, 220, 100) ExpandButton.Text = "+" ExpandButton.TextColor3 = Color3.new(1, 1, 1) ExpandButton.TextSize = 20 ExpandButton.Font = Enum.Font.GothamBold ExpandButton.Parent = Hotbar local UICorner_Exp = Instance.new("UICorner") UICorner_Exp.CornerRadius = UDim.new(0, 8) UICorner_Exp.Parent = ExpandButton local ContentFrame = Instance.new("Frame") ContentFrame.Name = "ContentFrame" ContentFrame.Size = UDim2.new(1, -30, 1, -55) ContentFrame.Position = UDim2.new(0, 15, 0, 50) ContentFrame.BackgroundTransparency = 1 ContentFrame.Parent = MainFrame local function CreateInputField(name, iconType, iconValue, positionY) local FieldFrame = Instance.new("Frame") FieldFrame.Name = name .. "Frame" FieldFrame.Size = UDim2.new(1, 0, 0, 45) FieldFrame.Position = UDim2.new(0, 0, 0, positionY) FieldFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 65) FieldFrame.BorderSizePixel = 0 FieldFrame.Parent = ContentFrame local UICorner_Field = Instance.new("UICorner") UICorner_Field.CornerRadius = UDim.new(0, 10) UICorner_Field.Parent = FieldFrame local IconFrame = Instance.new("Frame") IconFrame.Name = "IconFrame" IconFrame.Size = UDim2.new(0, 35, 0, 35) IconFrame.Position = UDim2.new(0, 8, 0.5, -17) IconFrame.BackgroundColor3 = Color3.fromRGB(70, 70, 85) IconFrame.BorderSizePixel = 0 IconFrame.Parent = FieldFrame local UICorner_Icon = Instance.new("UICorner") UICorner_Icon.CornerRadius = UDim.new(0, 8) UICorner_Icon.Parent = IconFrame if iconType == "image" then local IconImage = Instance.new("ImageLabel") IconImage.Name = "IconImage" IconImage.Size = UDim2.new(0, 24, 0, 24) IconImage.Position = UDim2.new(0.5, -12, 0.5, -12) IconImage.BackgroundTransparency = 1 IconImage.Image = iconValue IconImage.Parent = IconFrame else local IconEmoji = Instance.new("TextLabel") IconEmoji.Name = "IconEmoji" IconEmoji.Size = UDim2.new(1, 0, 1, 0) IconEmoji.BackgroundTransparency = 1 IconEmoji.Text = iconValue IconEmoji.TextSize = 14 IconEmoji.Font = Enum.Font.GothamBold IconEmoji.TextColor3 = Color3.fromRGB(100, 255, 100) IconEmoji.Parent = IconFrame end local Label = Instance.new("TextLabel") Label.Name = "Label" Label.Size = UDim2.new(0, 70, 0, 20) Label.Position = UDim2.new(0, 55, 0, 3) Label.BackgroundTransparency = 1 Label.Text = name Label.TextColor3 = Color3.fromRGB(220, 220, 230) Label.TextSize = 14 Label.Font = Enum.Font.GothamBold Label.TextXAlignment = Enum.TextXAlignment.Left Label.Parent = FieldFrame local TextBox = Instance.new("TextBox") TextBox.Name = name .. "Input" TextBox.Size = UDim2.new(1, -120, 0, 30) TextBox.Position = UDim2.new(0, 110, 0.5, -15) TextBox.BackgroundColor3 = Color3.fromRGB(40, 40, 55) TextBox.TextColor3 = Color3.fromRGB(240, 240, 255) TextBox.PlaceholderText = "Π’Π²Π΅Π΄ΠΈΡ‚Π΅ Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅..." TextBox.PlaceholderColor3 = Color3.fromRGB(130, 130, 150) TextBox.Text = "" TextBox.TextSize = 14 TextBox.Font = Enum.Font.Gotham TextBox.ClearTextOnFocus = false TextBox.Parent = FieldFrame local UICorner_TB = Instance.new("UICorner") UICorner_TB.CornerRadius = UDim.new(0, 6) UICorner_TB.Parent = TextBox local UIStroke_TB = Instance.new("UIStroke") UIStroke_TB.Color = Color3.fromRGB(60, 60, 80) UIStroke_TB.Thickness = 1 UIStroke_TB.Parent = TextBox return TextBox end local ChestInput = CreateInputField("Chest", "image", "rbxassetid://93074990822493", 5) local MoneyInput = CreateInputField("Money", "image", "rbxassetid://133146960529422", 55) local FishInput = CreateInputField("Fish", "image", "rbxassetid://85724460256300", 105) local LevelInput = CreateInputField("Level", "text", "LVL", 155) local ApplyButton = Instance.new("TextButton") ApplyButton.Name = "ApplyButton" ApplyButton.Size = UDim2.new(1, 0, 0, 40) ApplyButton.Position = UDim2.new(0, 0, 0, 215) ApplyButton.BackgroundColor3 = Color3.fromRGB(120, 100, 220) ApplyButton.Text = "ΠŸΡ€ΠΈΠΌΠ΅Π½ΠΈΡ‚ΡŒ" ApplyButton.TextColor3 = Color3.new(1, 1, 1) ApplyButton.TextSize = 16 ApplyButton.Font = Enum.Font.GothamBold ApplyButton.Parent = ContentFrame local UICorner_Apply = Instance.new("UICorner") UICorner_Apply.CornerRadius = UDim.new(0, 10) UICorner_Apply.Parent = ApplyButton local ApplyGradient = Instance.new("UIGradient") ApplyGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(140, 120, 240)), ColorSequenceKeypoint.new(1, Color3.fromRGB(100, 80, 200)) }) ApplyGradient.Rotation = 90 ApplyGradient.Parent = ApplyButton local function UpdateData() local playerName = Player.Name local function setValue(path, value) local success, err = pcall(function() local dataPath = Players:FindFirstChild(playerName) if dataPath then local playerData = dataPath:FindFirstChild("PlayerData") if playerData then local target = playerData:FindFirstChild(path) if target then local num = tonumber(value) if num then target.Value = num else target.Value = value end end end end end) if not success then warn("Ошибка установки " .. path .. ": " .. tostring(err)) end end if ChestInput.Text ~= "" then setValue("MiniChests", ChestInput.Text) end if MoneyInput.Text ~= "" then setValue("Points", MoneyInput.Text) end if FishInput.Text ~= "" then setValue("Fish", FishInput.Text) end if LevelInput.Text ~= "" then setValue("Level", LevelInput.Text) end end ApplyButton.MouseButton1Click:Connect(UpdateData) ChestInput.FocusLost:Connect(function(enterPressed) if enterPressed then UpdateData() end end) MoneyInput.FocusLost:Connect(function(enterPressed) if enterPressed then UpdateData() end end) FishInput.FocusLost:Connect(function(enterPressed) if enterPressed then UpdateData() end end) LevelInput.FocusLost:Connect(function(enterPressed) if enterPressed then UpdateData() end end) MinimizeButton.MouseButton1Click:Connect(function() MainFrame.Visible = false Hotbar.Visible = true end) ExpandButton.MouseButton1Click:Connect(function() Hotbar.Visible = false MainFrame.Visible = true end) CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) local function AddHoverEffect(button, defaultColor, hoverColor) button.MouseEnter:Connect(function() button.BackgroundColor3 = hoverColor end) button.MouseLeave:Connect(function() button.BackgroundColor3 = defaultColor end) end AddHoverEffect(CloseButton, Color3.fromRGB(255, 80, 80), Color3.fromRGB(255, 130, 130)) AddHoverEffect(MinimizeButton, Color3.fromRGB(255, 180, 80), Color3.fromRGB(255, 210, 130)) AddHoverEffect(ExpandButton, Color3.fromRGB(100, 220, 100), Color3.fromRGB(150, 240, 150)) AddHoverEffect(ApplyButton, Color3.fromRGB(120, 100, 220), Color3.fromRGB(150, 130, 240))