-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Mamut Rakhal Hub -- Проверяем, не запущен ли скрипт уже, чтобы не дублировать интерфейс if game:GetService("CoreGui"):FindFirstChild("MamutRakhalHub") then game:GetService("CoreGui").MamutRakhalHub:Destroy() end local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- Переменные для подсчета local totalStudsWalked = 0 local lastPosition = nil -- Функция для получения текущей позиции персонажа local function getPosition() local char = player.Character if char then local hrp = char:FindFirstChild("HumanoidRootPart") if hrp then return hrp.Position end end return nil end lastPosition = getPosition() -- Создаем интерфейс в CoreGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "MamutRakhalHub" screenGui.ResetOnSpawn = false screenGui.Parent = game:GetService("CoreGui") -- Защита интерфейса от обнаружения античитами if gethui then screenGui.Parent = gethui() end -- Главный контейнер local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 230, 0, 140) -- Немного увеличили высоту под заголовок mainFrame.Position = UDim2.new(0.05, 0, 0.4, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true -- Делает окошко перетаскиваемым mainFrame.Parent = screenGui -- Скругление углов local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 9) uiCorner.Parent = mainFrame -- Заголовок ХАБА local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 25) titleLabel.Position = UDim2.new(0, 0, 0, 8) titleLabel.BackgroundTransparency = 1 titleLabel.TextColor3 = Color3.fromRGB(160, 32, 240) -- Красивый фиолетовый цвет для бренда titleLabel.TextSize = 16 titleLabel.Text = "🦣 Mamut Rakhal Hub" titleLabel.Font = Enum.Font.SourceSansBold titleLabel.Parent = mainFrame -- Текст с количеством студов local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(1, 0, 0, 40) textLabel.Position = UDim2.new(0, 0, 0, 35) textLabel.BackgroundTransparency = 1 textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) textLabel.TextSize = 18 textLabel.Text = "Пройдено: 0.0 студов" textLabel.Font = Enum.Font.RobotoMono textLabel.Parent = mainFrame -- Кнопка Сброса local resetButton = Instance.new("TextButton") resetButton.Size = UDim2.new(0, 95, 0, 32) resetButton.Position = UDim2.new(0, 15, 0, 90) resetButton.BackgroundColor3 = Color3.fromRGB(230, 126, 34) resetButton.TextColor3 = Color3.fromRGB(255, 255, 255) resetButton.Text = "Сбросить" resetButton.TextSize = 14 resetButton.Font = Enum.Font.SourceSansBold resetButton.Parent = mainFrame Instance.new("UICorner", resetButton).CornerRadius = UDim.new(0, 5) -- Кнопка Выгрузки (Unload) local unloadButton = Instance.new("TextButton") unloadButton.Size = UDim2.new(0, 95, 0, 32) unloadButton.Position = UDim2.new(0, 120, 0, 90) unloadButton.BackgroundColor3 = Color3.fromRGB(192, 57, 43) unloadButton.TextColor3 = Color3.fromRGB(255, 255, 255) unloadButton.Text = "Выгрузить" unloadButton.TextSize = 14 unloadButton.Font = Enum.Font.SourceSansBold unloadButton.Parent = mainFrame Instance.new("UICorner", unloadButton).CornerRadius = UDim.new(0, 5) -- Постоянное обновление в цикле игры local connection connection = RunService.Heartbeat:Connect(function() local currentPosition = getPosition() if currentPosition and lastPosition then -- Считаем дистанцию по плоскости XZ local distance = (Vector3.new(currentPosition.X, 0, currentPosition.Z) - Vector3.new(lastPosition.X, 0, lastPosition.Z)).Magnitude -- Фильтр телепортов / смертей (если прыжок больше 50 студов за кадр — игнорируем) if distance < 50 then totalStudsWalked = totalStudsWalked + distance end textLabel.Text = string.format("Пройдено: %.1f студов", totalStudsWalked) end lastPosition = currentPosition end) -- Логика сброса resetButton.MouseButton1Click:Connect(function() totalStudsWalked = 0 lastPosition = getPosition() textLabel.Text = "Пройдено: 0.0 студов" end) -- Логика выгрузки скрипта unloadButton.MouseButton1Click:Connect(function() if connection then connection:Disconnect() end screenGui:Destroy() end)