-- Services local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local TeleportService = game:GetService("TeleportService") local LogService = game:GetService("LogService") -- Wait for character local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart") local Humanoid = Character:WaitForChild("Humanoid") LocalPlayer.CharacterAdded:Connect(function(newChar) Character = newChar HumanoidRootPart = newChar:WaitForChild("HumanoidRootPart") Humanoid = newChar:WaitForChild("Humanoid") end) -- GUI Container local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "VRSS_Menu" ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- Colors local CRIMSON_DARK = Color3.fromRGB(60, 0, 10) local CRIMSON_MID = Color3.fromRGB(100, 0, 20) local CRIMSON_MAIN = Color3.fromRGB(140, 0, 30) local CRIMSON_BRIGHT = Color3.fromRGB(180, 0, 40) local CRIMSON_ACCENT = Color3.fromRGB(200, 20, 50) local BG_DARK = Color3.fromRGB(12, 0, 4) local BG_PANEL = Color3.fromRGB(18, 2, 6) local BG_ELEMENT = Color3.fromRGB(25, 4, 10) local TEXT_PRIMARY = Color3.fromRGB(235, 215, 220) local TEXT_SECONDARY = Color3.fromRGB(180, 150, 160) local TEXT_DIM = Color3.fromRGB(140, 110, 120) local WHITE = Color3.fromRGB(255, 255, 255) local ORANGE_STRIPE = Color3.fromRGB(255, 140, 0) local NOTIF_BG = Color3.fromRGB(35, 35, 40) -- =================== COLLAPSE BUTTON =================== local CollapseButton = Instance.new("TextButton") CollapseButton.Size = UDim2.new(0, 45, 0, 45) CollapseButton.Position = UDim2.new(0.9, 0, 0.1, 0) CollapseButton.BackgroundColor3 = Color3.fromRGB(15, 15, 20) CollapseButton.BackgroundTransparency = 0.1 CollapseButton.Text = "" CollapseButton.BorderSizePixel = 0 CollapseButton.Active = true CollapseButton.Draggable = true CollapseButton.ZIndex = 200 CollapseButton.Parent = ScreenGui local CollapseCorner = Instance.new("UICorner") CollapseCorner.CornerRadius = UDim.new(1, 0) CollapseCorner.Parent = CollapseButton local CollapseStroke = Instance.new("UIStroke") CollapseStroke.Color = CRIMSON_MAIN CollapseStroke.Thickness = 2 CollapseStroke.Transparency = 0.4 CollapseStroke.Parent = CollapseButton local VText = Instance.new("TextLabel") VText.Size = UDim2.new(1, 0, 1, 0) VText.BackgroundTransparency = 1 VText.Text = "V" VText.TextColor3 = CRIMSON_ACCENT VText.TextSize = 26 VText.Font = Enum.Font.GothamBlack VText.ZIndex = 201 VText.Parent = CollapseButton -- =================== NOTIFICATION SYSTEM =================== local notificationsEnabled = true local activeNotifications = {} local processedKills = {} local maxProcessedKills = 50 local function createKillNotification(sheriffName) local notif = Instance.new("Frame") notif.Size = UDim2.new(0, 300, 0, 55) notif.Position = UDim2.new(1, 10, 0, #activeNotifications * 63 + 10) notif.BackgroundColor3 = NOTIF_BG notif.BorderSizePixel = 0 notif.ZIndex = 500 notif.Parent = ScreenGui local notifCorner = Instance.new("UICorner") notifCorner.CornerRadius = UDim.new(0, 6) notifCorner.Parent = notif local orangeStripe = Instance.new("Frame") orangeStripe.Size = UDim2.new(0, 3, 1, 0) orangeStripe.BackgroundColor3 = ORANGE_STRIPE orangeStripe.BorderSizePixel = 0 orangeStripe.ZIndex = 501 orangeStripe.Parent = notif local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -24, 0, 20) titleLabel.Position = UDim2.new(0, 12, 0, 6) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "MURDERER ELIMINATED" titleLabel.TextColor3 = ORANGE_STRIPE titleLabel.TextSize = 11 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.ZIndex = 501 titleLabel.Parent = notif local infoLabel = Instance.new("TextLabel") infoLabel.Size = UDim2.new(1, -24, 0, 20) infoLabel.Position = UDim2.new(0, 12, 0, 28) infoLabel.BackgroundTransparency = 1 infoLabel.Text = sheriffName .. " killed the Murderer" infoLabel.TextColor3 = Color3.fromRGB(200, 200, 210) infoLabel.TextSize = 12 infoLabel.Font = Enum.Font.GothamMedium infoLabel.TextXAlignment = Enum.TextXAlignment.Left infoLabel.ZIndex = 501 infoLabel.Parent = notif table.insert(activeNotifications, notif) TweenService:Create(notif, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Position = UDim2.new(1, -310, 0, notif.Position.Y.Offset) }):Play() local notifRef = notif task.delay(8, function() if notifRef and notifRef.Parent then TweenService:Create(notifRef, TweenInfo.new(0.3), { Position = UDim2.new(1, 10, 0, notifRef.Position.Y.Offset), BackgroundTransparency = 0.8 }):Play() task.wait(0.3) if notifRef and notifRef.Parent then notifRef:Destroy() for i, n in ipairs(activeNotifications) do if n == notifRef then table.remove(activeNotifications, i) break end end for i, n in ipairs(activeNotifications) do if n and n.Parent then TweenService:Create(n, TweenInfo.new(0.3), { Position = UDim2.new(1, -310, 0, (i-1) * 63 + 10) }):Play() end end end end end) end local function parseKillMessageAdvanced(message) local sheriffName = nil local pattern1 = "false%s+Sheriff%s+MurdererDied%s+(%w+)" sheriffName = string.match(message, pattern1) if not sheriffName then local words = {} for word in string.gmatch(message, "%w+") do table.insert(words, word) end for i, word in ipairs(words) do if word == "MurdererDied" and words[i+1] then sheriffName = words[i+1] break end end end if sheriffName and sheriffName ~= "false" and sheriffName ~= "MurdererDied" then sheriffName = string.sub(string.upper(sheriffName), 1, 1) .. string.sub(string.lower(sheriffName), 2) local killKey = sheriffName .. "_" .. math.floor(tick() / 10) if not processedKills[killKey] then processedKills[killKey] = true local killKeys = {} for k, _ in pairs(processedKills) do table.insert(killKeys, k) end if #killKeys > maxProcessedKills then for i = 1, #killKeys - maxProcessedKills do processedKills[killKeys[i]] = nil end end if notificationsEnabled then createKillNotification(sheriffName) end end end end local logBuffer = {} local oldPrint = print print = function(...) local args = {...} table.insert(logBuffer, table.concat(args, " ")) if #logBuffer > 100 then table.remove(logBuffer, 1) end oldPrint(...) end task.spawn(function() while true do if notificationsEnabled then for _, message in ipairs(logBuffer) do if string.find(message, "MurdererDied") then parseKillMessageAdvanced(message) end end logBuffer = {} end task.wait(0.7) end end) -- =================== MAIN MENU FRAME =================== local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 320, 0, 240) MainFrame.Position = UDim2.new(0.5, -160, 0.5, -120) MainFrame.BackgroundColor3 = BG_DARK MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Visible = false MainFrame.BackgroundTransparency = 1 MainFrame.ZIndex = 100 MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 10) MainCorner.Parent = MainFrame local MainStroke = Instance.new("UIStroke") MainStroke.Color = CRIMSON_MAIN MainStroke.Thickness = 1.5 MainStroke.Transparency = 1 MainStroke.Parent = MainFrame local function showMenu() MainFrame.Visible = true CollapseButton.Visible = false TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {BackgroundTransparency = 0}):Play() TweenService:Create(MainStroke, TweenInfo.new(0.4), {Transparency = 0.3}):Play() end local function hideMenu() TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {BackgroundTransparency = 1}):Play() TweenService:Create(MainStroke, TweenInfo.new(0.3), {Transparency = 1}):Play() task.wait(0.3) MainFrame.Visible = false CollapseButton.Visible = true end CollapseButton.MouseButton1Click:Connect(function() if MainFrame.Visible then hideMenu() else showMenu() end end) -- =================== TITLE BAR =================== local TitleBar = Instance.new("Frame") TitleBar.Size = UDim2.new(1, 0, 0, 40) TitleBar.BackgroundColor3 = CRIMSON_DARK TitleBar.BorderSizePixel = 0 TitleBar.ZIndex = 101 TitleBar.Parent = MainFrame local TitleBarCorner = Instance.new("UICorner") TitleBarCorner.CornerRadius = UDim.new(0, 10) TitleBarCorner.Parent = TitleBar local BottomCoverLeft = Instance.new("Frame") BottomCoverLeft.Size = UDim2.new(0, 10, 0, 10) BottomCoverLeft.Position = UDim2.new(0, 0, 1, -10) BottomCoverLeft.BackgroundColor3 = CRIMSON_DARK BottomCoverLeft.BorderSizePixel = 0 BottomCoverLeft.ZIndex = 102 BottomCoverLeft.Parent = TitleBar local BottomCoverRight = Instance.new("Frame") BottomCoverRight.Size = UDim2.new(0, 10, 0, 10) BottomCoverRight.Position = UDim2.new(1, -10, 1, -10) BottomCoverRight.BackgroundColor3 = CRIMSON_DARK BottomCoverRight.BorderSizePixel = 0 BottomCoverRight.ZIndex = 102 BottomCoverRight.Parent = TitleBar local LogoFrame = Instance.new("Frame") LogoFrame.Size = UDim2.new(0, 26, 0, 26) LogoFrame.Position = UDim2.new(0, 10, 0.5, -13) LogoFrame.BackgroundColor3 = CRIMSON_MAIN LogoFrame.BorderSizePixel = 0 LogoFrame.ZIndex = 103 LogoFrame.Parent = TitleBar Instance.new("UICorner", LogoFrame).CornerRadius = UDim.new(0, 5) local LogoText = Instance.new("TextLabel") LogoText.Size = UDim2.new(1, 0, 1, 0) LogoText.BackgroundTransparency = 1 LogoText.Text = "V" LogoText.TextColor3 = WHITE LogoText.TextSize = 16 LogoText.Font = Enum.Font.GothamBlack LogoText.ZIndex = 103 LogoText.Parent = LogoFrame local TitleText = Instance.new("TextLabel") TitleText.Size = UDim2.new(0, 180, 1, 0) TitleText.Position = UDim2.new(0, 44, 0, 0) TitleText.BackgroundTransparency = 1 TitleText.Text = "VRSS | MM2 mini" TitleText.TextColor3 = TEXT_PRIMARY TitleText.TextSize = 14 TitleText.Font = Enum.Font.GothamBlack TitleText.TextXAlignment = Enum.TextXAlignment.Left TitleText.ZIndex = 103 TitleText.Parent = TitleBar local CloseButton = Instance.new("TextButton") CloseButton.Size = UDim2.new(0, 24, 0, 24) CloseButton.Position = UDim2.new(1, -32, 0.5, -12) CloseButton.BackgroundColor3 = Color3.fromRGB(35, 35, 45) CloseButton.Text = "X" CloseButton.TextColor3 = TEXT_SECONDARY CloseButton.TextSize = 13 CloseButton.Font = Enum.Font.GothamBold CloseButton.BorderSizePixel = 0 CloseButton.ZIndex = 103 CloseButton.Parent = TitleBar Instance.new("UICorner", CloseButton).CornerRadius = UDim.new(0, 5) CloseButton.MouseEnter:Connect(function() TweenService:Create(CloseButton, TweenInfo.new(0.2), {BackgroundColor3 = CRIMSON_BRIGHT}):Play() end) CloseButton.MouseLeave:Connect(function() TweenService:Create(CloseButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(35, 35, 45)}):Play() end) CloseButton.MouseButton1Click:Connect(hideMenu) -- =================== TAB SYSTEM =================== local TabContainer = Instance.new("Frame") TabContainer.Size = UDim2.new(1, -16, 0, 32) TabContainer.Position = UDim2.new(0, 8, 0, 46) TabContainer.BackgroundColor3 = BG_PANEL TabContainer.BorderSizePixel = 0 TabContainer.ZIndex = 101 TabContainer.Parent = MainFrame Instance.new("UICorner", TabContainer).CornerRadius = UDim.new(0, 6) Instance.new("UIStroke", TabContainer).Color = CRIMSON_MID TabContainer.UIStroke.Thickness = 1 TabContainer.UIStroke.Transparency = 0.5 local TabList = Instance.new("UIListLayout") TabList.FillDirection = Enum.FillDirection.Horizontal TabList.Padding = UDim.new(0, 4) TabList.HorizontalAlignment = Enum.HorizontalAlignment.Left TabList.VerticalAlignment = Enum.VerticalAlignment.Center TabList.Parent = TabContainer Instance.new("UIPadding", TabContainer).PaddingLeft = UDim.new(0, 6) -- Content Pages with CLIPPING local ContentContainer = Instance.new("Frame") ContentContainer.Size = UDim2.new(1, -16, 1, -90) ContentContainer.Position = UDim2.new(0, 8, 0, 82) ContentContainer.BackgroundColor3 = BG_PANEL ContentContainer.BorderSizePixel = 0 ContentContainer.ClipsDescendants = true ContentContainer.ZIndex = 101 ContentContainer.Parent = MainFrame Instance.new("UICorner", ContentContainer).CornerRadius = UDim.new(0, 6) local Pages = {} local TabButtons = {} local function createPage() local page = Instance.new("Frame") page.Size = UDim2.new(1, 0, 1, 0) page.BackgroundTransparency = 1 page.Visible = false page.ZIndex = 102 page.Parent = ContentContainer local scroll = Instance.new("ScrollingFrame") scroll.Size = UDim2.new(1, -8, 1, 0) scroll.Position = UDim2.new(0, 4, 0, 0) scroll.BackgroundTransparency = 1 scroll.ScrollBarThickness = 6 scroll.ScrollBarImageColor3 = ORANGE_STRIPE scroll.ScrollBarImageTransparency = 0.3 scroll.CanvasSize = UDim2.new(0, 0, 0, 0) scroll.BorderSizePixel = 0 scroll.ScrollingDirection = Enum.ScrollingDirection.Y scroll.VerticalScrollBarInset = Enum.ScrollBarInset.Always scroll.ZIndex = 103 scroll.Parent = page local list = Instance.new("UIListLayout") list.Padding = UDim.new(0, 6) list.HorizontalAlignment = Enum.HorizontalAlignment.Center list.SortOrder = Enum.SortOrder.LayoutOrder list.Parent = scroll scroll.ChildAdded:Connect(function() local h = 0 for _, c in ipairs(scroll:GetChildren()) do if c:IsA("Frame") or c:IsA("TextButton") then h = h + c.AbsoluteSize.Y + 6 end end scroll.CanvasSize = UDim2.new(0, 0, 0, h + 6) end) local pd = {Page = page, Scroll = scroll, List = list} table.insert(Pages, pd) return pd end local function createTabButton(name, pageData) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 70, 1, -4) btn.BackgroundColor3 = Color3.fromRGB(30, 30, 38) btn.Text = name btn.TextColor3 = TEXT_SECONDARY btn.TextSize = 11 btn.Font = Enum.Font.GothamBold btn.BorderSizePixel = 0 btn.ZIndex = 102 btn.Parent = TabContainer Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 5) btn.MouseButton1Click:Connect(function() for _, p in ipairs(Pages) do p.Page.Visible = false end pageData.Page.Visible = true for _, b in ipairs(TabButtons) do TweenService:Create(b, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(30, 30, 38), TextColor3 = TEXT_SECONDARY}):Play() end TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = CRIMSON_MAIN, TextColor3 = WHITE}):Play() local h = 0 for _, c in ipairs(pageData.Scroll:GetChildren()) do if c:IsA("Frame") or c:IsA("TextButton") then h = h + c.AbsoluteSize.Y + 6 end end pageData.Scroll.CanvasSize = UDim2.new(0, 0, 0, h + 6) end) table.insert(TabButtons, btn) return btn end local MainPageData = createPage() local AutoPageData = createPage() local ESPPageData = createPage() local TGPageData = createPage() local MainTab = createTabButton("Main", MainPageData) local AutoTab = createTabButton("Auto", AutoPageData) local ESPTab = createTabButton("ESP", ESPPageData) local TGTab = createTabButton("TG", TGPageData) MainPageData.Page.Visible = true MainTab.BackgroundColor3 = CRIMSON_MAIN MainTab.TextColor3 = WHITE -- =================== HELPERS =================== local function createToggle(parent, name, default, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -10, 0, 42) frame.BackgroundColor3 = BG_ELEMENT frame.BorderSizePixel = 0 frame.ZIndex = 104 frame.Parent = parent Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 6) local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 180, 1, 0) label.Position = UDim2.new(0, 10, 0, 0) label.BackgroundTransparency = 1 label.Text = name label.TextColor3 = TEXT_PRIMARY label.TextSize = 12 label.Font = Enum.Font.GothamMedium label.TextXAlignment = Enum.TextXAlignment.Left label.ZIndex = 105 label.Parent = frame local tf = Instance.new("Frame") tf.Size = UDim2.new(0, 40, 0, 20) tf.Position = UDim2.new(1, -50, 0.5, -10) tf.BackgroundColor3 = default and Color3.fromRGB(0, 140, 0) or Color3.fromRGB(55, 55, 65) tf.BorderSizePixel = 0 tf.ZIndex = 105 tf.Parent = frame Instance.new("UICorner", tf).CornerRadius = UDim.new(1, 0) local dot = Instance.new("Frame") dot.Size = UDim2.new(0, 16, 0, 16) dot.Position = default and UDim2.new(1, -18, 0.5, -8) or UDim2.new(0, 2, 0.5, -8) dot.BackgroundColor3 = WHITE dot.BorderSizePixel = 0 dot.ZIndex = 106 dot.Parent = tf Instance.new("UICorner", dot).CornerRadius = UDim.new(1, 0) local enabled = default local function update() if enabled then TweenService:Create(tf, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 140, 0)}):Play() TweenService:Create(dot, TweenInfo.new(0.2), {Position = UDim2.new(1, -18, 0.5, -8)}):Play() else TweenService:Create(tf, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(55, 55, 65)}):Play() TweenService:Create(dot, TweenInfo.new(0.2), {Position = UDim2.new(0, 2, 0.5, -8)}):Play() end end frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then enabled = not enabled update() callback(enabled) end end) return frame end local function createButton(parent, name, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -10, 0, 38) btn.BackgroundColor3 = BG_ELEMENT btn.Text = "" btn.BorderSizePixel = 0 btn.ZIndex = 104 btn.Parent = parent Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6) local bt = Instance.new("TextLabel") bt.Size = UDim2.new(1, -16, 1, 0) bt.Position = UDim2.new(0, 8, 0, 0) bt.BackgroundTransparency = 1 bt.Text = name bt.TextColor3 = TEXT_PRIMARY bt.TextSize = 12 bt.Font = Enum.Font.GothamMedium bt.TextXAlignment = Enum.TextXAlignment.Left bt.ZIndex = 105 bt.Parent = btn btn.MouseButton1Click:Connect(function() TweenService:Create(btn, TweenInfo.new(0.1), {BackgroundColor3 = CRIMSON_MAIN}):Play() task.wait(0.1) TweenService:Create(btn, TweenInfo.new(0.1), {BackgroundColor3 = BG_ELEMENT}):Play() callback() end) return btn end local function createSlider(parent, name, min, max, default, suffix, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -10, 0, 65) frame.BackgroundColor3 = BG_ELEMENT frame.BorderSizePixel = 0 frame.ZIndex = 104 frame.Parent = parent Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 6) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -16, 0, 18) label.Position = UDim2.new(0, 8, 0, 6) label.BackgroundTransparency = 1 label.Text = name label.TextColor3 = TEXT_PRIMARY label.TextSize = 12 label.Font = Enum.Font.GothamMedium label.TextXAlignment = Enum.TextXAlignment.Left label.ZIndex = 105 label.Parent = frame local valLabel = Instance.new("TextLabel") valLabel.Size = UDim2.new(0, 70, 0, 18) valLabel.Position = UDim2.new(1, -78, 0, 6) valLabel.BackgroundTransparency = 1 valLabel.Text = tostring(default) .. " " .. suffix valLabel.TextColor3 = CRIMSON_ACCENT valLabel.TextSize = 11 valLabel.Font = Enum.Font.GothamBold valLabel.TextXAlignment = Enum.TextXAlignment.Right valLabel.ZIndex = 105 valLabel.Parent = frame local sliderBg = Instance.new("Frame") sliderBg.Size = UDim2.new(1, -16, 0, 4) sliderBg.Position = UDim2.new(0, 8, 0, 36) sliderBg.BackgroundColor3 = Color3.fromRGB(45, 45, 55) sliderBg.BorderSizePixel = 0 sliderBg.ZIndex = 105 sliderBg.Parent = frame Instance.new("UICorner", sliderBg).CornerRadius = UDim.new(1, 0) local fill = Instance.new("Frame") fill.Size = UDim2.new((default - min) / (max - min), 0, 1, 0) fill.BackgroundColor3 = CRIMSON_MAIN fill.BorderSizePixel = 0 fill.ZIndex = 106 fill.Parent = sliderBg Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0) local sDot = Instance.new("TextButton") sDot.Size = UDim2.new(0, 14, 0, 14) sDot.Position = UDim2.new((default - min) / (max - min), -7, 0, -5) sDot.BackgroundColor3 = WHITE sDot.Text = "" sDot.BorderSizePixel = 0 sDot.ZIndex = 107 sDot.Parent = sliderBg Instance.new("UICorner", sDot).CornerRadius = UDim.new(1, 0) local dragging = false sDot.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local mp = UserInputService:GetMouseLocation() local sp = sliderBg.AbsolutePosition.X local ss = sliderBg.AbsoluteSize.X local pct = math.clamp((mp.X - sp) / ss, 0, 1) local val = math.floor((min + (max - min) * pct) * 100) / 100 fill.Size = UDim2.new(pct, 0, 1, 0) sDot.Position = UDim2.new(pct, -7, 0, -5) valLabel.Text = tostring(val) .. " " .. suffix callback(val) end end) return frame end -- =================== SCROLL ARROWS =================== local function addScrollArrows(scrollFrame) local arrowUp = Instance.new("TextButton") arrowUp.Size = UDim2.new(0, 24, 0, 18) arrowUp.Position = UDim2.new(1, -28, 0, 2) arrowUp.BackgroundTransparency = 1 arrowUp.Text = "^" arrowUp.TextColor3 = ORANGE_STRIPE arrowUp.TextSize = 14 arrowUp.Font = Enum.Font.GothamBlack arrowUp.ZIndex = 110 arrowUp.Visible = false arrowUp.Parent = scrollFrame.Parent local arrowDown = Instance.new("TextButton") arrowDown.Size = UDim2.new(0, 24, 0, 18) arrowDown.Position = UDim2.new(1, -28, 1, -20) arrowDown.BackgroundTransparency = 1 arrowDown.Text = "v" arrowDown.TextColor3 = ORANGE_STRIPE arrowDown.TextSize = 14 arrowDown.Font = Enum.Font.GothamBlack arrowDown.ZIndex = 110 arrowDown.Visible = false arrowDown.Parent = scrollFrame.Parent arrowUp.MouseButton1Click:Connect(function() scrollFrame.CanvasPosition = Vector2.new(0, math.max(0, scrollFrame.CanvasPosition.Y - 80)) end) arrowDown.MouseButton1Click:Connect(function() scrollFrame.CanvasPosition = Vector2.new(0, scrollFrame.CanvasPosition.Y + 80) end) local function updateArrows() local totalHeight = 0 for _, child in ipairs(scrollFrame:GetChildren()) do if child:IsA("Frame") or child:IsA("TextButton") then totalHeight = totalHeight + child.AbsoluteSize.Y + 6 end end local canScroll = totalHeight > scrollFrame.AbsoluteSize.Y arrowUp.Visible = canScroll and scrollFrame.CanvasPosition.Y > 5 arrowDown.Visible = canScroll and scrollFrame.CanvasPosition.Y < (totalHeight - scrollFrame.AbsoluteSize.Y - 5) end scrollFrame:GetPropertyChangedSignal("CanvasPosition"):Connect(updateArrows) scrollFrame.ChildAdded:Connect(function() task.wait(0.1) updateArrows() end) scrollFrame.ChildRemoved:Connect(function() task.wait(0.1) updateArrows() end) task.spawn(function() task.wait(0.5) updateArrows() end) end addScrollArrows(MainPageData.Scroll) addScrollArrows(AutoPageData.Scroll) addScrollArrows(ESPPageData.Scroll) addScrollArrows(TGPageData.Scroll) -- =================== MAIN PAGE =================== createSlider(MainPageData.Scroll, "Walk Speed", 0, 200, 16, "studs/s", function(v) if Humanoid then Humanoid.WalkSpeed = v end end) createSlider(MainPageData.Scroll, "Jump Power", 0, 300, 50, "power", function(v) if Humanoid then Humanoid.JumpPower = v end end) createSlider(MainPageData.Scroll, "Gravity", 0, 500, 196.2, "studs/s2", function(v) Workspace.Gravity = v end) createSlider(MainPageData.Scroll, "FOV", 30, 120, 70, "deg", function(v) Workspace.CurrentCamera.FieldOfView = v end) createToggle(MainPageData.Scroll, "Kill Notifications", true, function(enabled) notificationsEnabled = enabled if not enabled then for _, n in ipairs(activeNotifications) do if n then n:Destroy() end end activeNotifications = {} end end) createButton(MainPageData.Scroll, "Reset Character", function() if Character then Character:BreakJoints() end end) createButton(MainPageData.Scroll, "Rejoin Server", function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end) createToggle(MainPageData.Scroll, "Full Bright", false, function(enabled) Lighting.Brightness = enabled and 2 or 1 if enabled then Lighting.ClockTime = 14; Lighting.FogEnd = 99999 else Lighting.FogEnd = 1000 end end) -- FIXED NoClip local noClipRunning = false local noClipConnection = nil local function enableNoClip() if noClipConnection then noClipConnection:Disconnect() end noClipRunning = true noClipConnection = RunService.Stepped:Connect(function() if noClipRunning and Character then for _, p in ipairs(Character:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = false end end end end) end local function disableNoClip() noClipRunning = false if noClipConnection then noClipConnection:Disconnect(); noClipConnection = nil end if Character then for _, p in ipairs(Character:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = true end end end end createToggle(MainPageData.Scroll, "NoClip", false, function(enabled) if enabled then enableNoClip() else disableNoClip() end end) LocalPlayer.CharacterAdded:Connect(function() if noClipRunning then enableNoClip() end end) -- =================== AUTO PAGE =================== local autoFarmEnabled = false local currentMode = "ECO" local modeSpeeds = {ECO = 25, FEco = 50, Fast = 100} local farmRunning = false local currentTween = nil local AutoFarmFrame = Instance.new("Frame") AutoFarmFrame.Size = UDim2.new(1, -10, 0, 60) AutoFarmFrame.BackgroundColor3 = BG_ELEMENT AutoFarmFrame.BorderSizePixel = 0 AutoFarmFrame.ZIndex = 104 AutoFarmFrame.Parent = AutoPageData.Scroll Instance.new("UICorner", AutoFarmFrame).CornerRadius = UDim.new(0, 6) local ModeSelector = Instance.new("Frame") ModeSelector.Size = UDim2.new(0, 60, 1, 0) ModeSelector.BackgroundColor3 = Color3.fromRGB(15, 2, 6) ModeSelector.BorderSizePixel = 0 ModeSelector.ZIndex = 105 ModeSelector.Parent = AutoFarmFrame Instance.new("UICorner", ModeSelector).CornerRadius = UDim.new(0, 6) local UpArrow = Instance.new("TextButton") UpArrow.Size = UDim2.new(0, 30, 0, 22) UpArrow.Position = UDim2.new(0.5, -15, 0, 2) UpArrow.BackgroundTransparency = 1 UpArrow.Text = "^" UpArrow.TextColor3 = WHITE UpArrow.TextSize = 16 UpArrow.Font = Enum.Font.GothamBlack UpArrow.ZIndex = 106 UpArrow.Parent = ModeSelector local ModeDisplay = Instance.new("TextLabel") ModeDisplay.Size = UDim2.new(1, 0, 0, 16) ModeDisplay.Position = UDim2.new(0, 0, 0.5, -8) ModeDisplay.BackgroundTransparency = 1 ModeDisplay.Text = "ECO" ModeDisplay.TextColor3 = CRIMSON_ACCENT ModeDisplay.TextSize = 11 ModeDisplay.Font = Enum.Font.GothamBlack ModeDisplay.ZIndex = 106 ModeDisplay.Parent = ModeSelector local DownArrow = Instance.new("TextButton") DownArrow.Size = UDim2.new(0, 30, 0, 22) DownArrow.Position = UDim2.new(0.5, -15, 1, -24) DownArrow.BackgroundTransparency = 1 DownArrow.Text = "v" DownArrow.TextColor3 = WHITE DownArrow.TextSize = 16 DownArrow.Font = Enum.Font.GothamBlack DownArrow.ZIndex = 106 DownArrow.Parent = ModeSelector local Divider = Instance.new("Frame") Divider.Size = UDim2.new(0, 1, 1, -10) Divider.Position = UDim2.new(0, 60, 0, 5) Divider.BackgroundColor3 = CRIMSON_MID Divider.BorderSizePixel = 0 Divider.ZIndex = 105 Divider.Parent = AutoFarmFrame local ToggleArea = Instance.new("TextButton") ToggleArea.Size = UDim2.new(1, -65, 1, 0) ToggleArea.Position = UDim2.new(0, 65, 0, 0) ToggleArea.BackgroundTransparency = 1 ToggleArea.Text = "" ToggleArea.ZIndex = 106 ToggleArea.Parent = AutoFarmFrame local AutoFarmText = Instance.new("TextLabel") AutoFarmText.Size = UDim2.new(0, 120, 1, 0) AutoFarmText.Position = UDim2.new(0, 10, 0, 0) AutoFarmText.BackgroundTransparency = 1 AutoFarmText.Text = "AUTO FARM" AutoFarmText.TextColor3 = TEXT_PRIMARY AutoFarmText.TextSize = 13 AutoFarmText.Font = Enum.Font.GothamBold AutoFarmText.TextXAlignment = Enum.TextXAlignment.Left AutoFarmText.ZIndex = 106 AutoFarmText.Parent = ToggleArea local ToggleFrame = Instance.new("Frame") ToggleFrame.Size = UDim2.new(0, 42, 0, 22) ToggleFrame.Position = UDim2.new(1, -52, 0.5, -11) ToggleFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 60) ToggleFrame.BorderSizePixel = 0 ToggleFrame.ZIndex = 107 ToggleFrame.Parent = ToggleArea Instance.new("UICorner", ToggleFrame).CornerRadius = UDim.new(1, 0) local ToggleDot = Instance.new("Frame") ToggleDot.Size = UDim2.new(0, 17, 0, 17) ToggleDot.Position = UDim2.new(0, 3, 0.5, -8) ToggleDot.BackgroundColor3 = Color3.fromRGB(170, 190, 255) ToggleDot.BorderSizePixel = 0 ToggleDot.ZIndex = 108 ToggleDot.Parent = ToggleFrame Instance.new("UICorner", ToggleDot).CornerRadius = UDim.new(1, 0) local function updateAutoToggle() if autoFarmEnabled then TweenService:Create(ToggleFrame, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(25, 55, 110)}):Play() TweenService:Create(ToggleDot, TweenInfo.new(0.25), {Position = UDim2.new(1, -20, 0.5, -8), BackgroundColor3 = Color3.fromRGB(90, 150, 255)}):Play() else TweenService:Create(ToggleFrame, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(50, 50, 60)}):Play() TweenService:Create(ToggleDot, TweenInfo.new(0.25), {Position = UDim2.new(0, 3, 0.5, -8), BackgroundColor3 = Color3.fromRGB(170, 190, 255)}):Play() end end local function findNearestCoin() if not Character or not HumanoidRootPart then return nil end local nearest, minDist = nil, math.huge for _, obj in ipairs(Workspace:GetDescendants()) do if obj:IsA("BasePart") and obj.Name == "Coin_Server" and obj.Parent then local d = (obj.Position - HumanoidRootPart.Position).Magnitude if d < minDist then minDist = d; nearest = obj end end end return nearest end local function moveToCoin(coin) if not Character or not HumanoidRootPart then return end if not coin or not coin.Parent then return end if currentTween then currentTween:Cancel(); currentTween = nil end local tp = coin.Position + Vector3.new(0, 3, 0) local dist = (tp - HumanoidRootPart.Position).Magnitude local dur = math.clamp(dist / modeSpeeds[currentMode], 0.1, 2) currentTween = TweenService:Create(HumanoidRootPart, TweenInfo.new(dur, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tp)}) currentTween:Play() local st = tick() while tick() - st < dur + 1 do if not coin.Parent or not autoFarmEnabled then break end task.wait(0.05) end if currentTween then currentTween:Cancel(); currentTween = nil end end local function farmLoop() while farmRunning and autoFarmEnabled do local coin = findNearestCoin() if coin then moveToCoin(coin) else task.wait(0.5) end task.wait(0.1) end end local function startFarming() if farmRunning then return end autoFarmEnabled = true; farmRunning = true updateAutoToggle() task.spawn(farmLoop) end local function stopFarming() autoFarmEnabled = false; farmRunning = false if currentTween then currentTween:Cancel(); currentTween = nil end updateAutoToggle() end ToggleArea.MouseButton1Click:Connect(function() if autoFarmEnabled then stopFarming() else startFarming() end end) local function cycleMode(dir) local modes = {"ECO", "FEco", "Fast"} local idx = 1 for i, m in ipairs(modes) do if m == currentMode then idx = i break end end idx = idx + dir if idx < 1 then idx = #modes elseif idx > #modes then idx = 1 end currentMode = modes[idx] ModeDisplay.Text = currentMode end UpArrow.MouseButton1Click:Connect(function() cycleMode(1) end) DownArrow.MouseButton1Click:Connect(function() cycleMode(-1) end) -- =================== ESP PAGE =================== local espEnabled = false local espCache = {} local function createESP(player) local function setup(ch) if not ch then return end task.wait(0.3) local rp = ch:FindFirstChild("HumanoidRootPart") or ch:FindFirstChild("Head") if not rp then return end if espCache[player] then if espCache[player].Highlight then espCache[player].Highlight:Destroy() end if espCache[player].Billboard then espCache[player].Billboard:Destroy() end end local hl = Instance.new("Highlight") hl.FillColor = Color3.fromRGB(255, 30, 30) hl.OutlineColor = WHITE hl.FillTransparency = 0.4 hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop hl.Parent = ch local bb = Instance.new("BillboardGui") bb.Size = UDim2.new(0, 150, 0, 30) bb.StudsOffset = Vector3.new(0, 3, 0) bb.AlwaysOnTop = true bb.MaxDistance = 5000 bb.Parent = ch local bf = Instance.new("Frame") bf.Size = UDim2.new(1, 0, 1, 0) bf.BackgroundColor3 = Color3.fromRGB(0, 0, 0) bf.BackgroundTransparency = 0.5 bf.BorderSizePixel = 0 bf.Parent = bb Instance.new("UICorner", bf).CornerRadius = UDim.new(0, 4) local nl = Instance.new("TextLabel") nl.Size = UDim2.new(1, 0, 1, 0) nl.BackgroundTransparency = 1 nl.Text = player.Name nl.TextColor3 = WHITE nl.TextSize = 12 nl.Font = Enum.Font.GothamBold nl.TextStrokeTransparency = 0 nl.Parent = bf espCache[player] = {Highlight = hl, Billboard = bb} end if player.Character then setup(player.Character) end player.CharacterAdded:Connect(function(c) if espEnabled then setup(c) end end) end local function removeESP(player) if espCache[player] then if espCache[player].Highlight then espCache[player].Highlight:Destroy() end if espCache[player].Billboard then espCache[player].Billboard:Destroy() end espCache[player] = nil end end createToggle(ESPPageData.Scroll, "Player ESP", false, function(enabled) espEnabled = enabled if enabled then for _, p in ipairs(Players:GetPlayers()) do if p ~= LocalPlayer then createESP(p) end end else for p, _ in pairs(espCache) do removeESP(p) end end end) Players.PlayerAdded:Connect(function(p) if espEnabled and p ~= LocalPlayer then createESP(p) end end) Players.PlayerRemoving:Connect(removeESP) -- =================== TG PAGE =================== local TGTitle = Instance.new("TextLabel") TGTitle.Size = UDim2.new(1, -10, 0, 40) TGTitle.BackgroundColor3 = BG_ELEMENT TGTitle.Text = "TELEGRAM CHANNEL" TGTitle.TextColor3 = TEXT_PRIMARY TGTitle.TextSize = 14 TGTitle.Font = Enum.Font.GothamBlack TGTitle.BorderSizePixel = 0 TGTitle.ZIndex = 104 TGTitle.Parent = TGPageData.Scroll Instance.new("UICorner", TGTitle).CornerRadius = UDim.new(0, 6) local TGInfo = Instance.new("TextLabel") TGInfo.Size = UDim2.new(1, -10, 0, 24) TGInfo.BackgroundTransparency = 1 TGInfo.Text = "Developer: VRSS" TGInfo.TextColor3 = TEXT_SECONDARY TGInfo.TextSize = 11 TGInfo.Font = Enum.Font.GothamMedium TGInfo.TextXAlignment = Enum.TextXAlignment.Left TGInfo.ZIndex = 104 TGInfo.Parent = TGPageData.Scroll local TGLinkFrame = Instance.new("Frame") TGLinkFrame.Size = UDim2.new(1, -10, 0, 48) TGLinkFrame.BackgroundColor3 = BG_ELEMENT TGLinkFrame.BorderSizePixel = 0 TGLinkFrame.ZIndex = 104 TGLinkFrame.Parent = TGPageData.Scroll Instance.new("UICorner", TGLinkFrame).CornerRadius = UDim.new(0, 6) local TGLinkStroke = Instance.new("UIStroke") TGLinkStroke.Color = Color3.fromRGB(0, 150, 255) TGLinkStroke.Thickness = 1.5 TGLinkStroke.Parent = TGLinkFrame local TGLinkText = Instance.new("TextLabel") TGLinkText.Size = UDim2.new(1, -16, 0, 18) TGLinkText.Position = UDim2.new(0, 8, 0, 6) TGLinkText.BackgroundTransparency = 1 TGLinkText.Text = "@HiVRSS" TGLinkText.TextColor3 = Color3.fromRGB(100, 180, 255) TGLinkText.TextSize = 14 TGLinkText.Font = Enum.Font.GothamBlack TGLinkText.TextXAlignment = Enum.TextXAlignment.Left TGLinkText.ZIndex = 105 TGLinkText.Parent = TGLinkFrame local TGLinkDesc = Instance.new("TextLabel") TGLinkDesc.Size = UDim2.new(1, -16, 0, 14) TGLinkDesc.Position = UDim2.new(0, 8, 0, 26) TGLinkDesc.BackgroundTransparency = 1 TGLinkDesc.Text = "Click to copy link" TGLinkDesc.TextColor3 = TEXT_SECONDARY TGLinkDesc.TextSize = 9 TGLinkDesc.Font = Enum.Font.GothamMedium TGLinkDesc.TextXAlignment = Enum.TextXAlignment.Left TGLinkDesc.ZIndex = 105 TGLinkDesc.Parent = TGLinkFrame local CopyBtn = Instance.new("TextButton") CopyBtn.Size = UDim2.new(0, 56, 0, 22) CopyBtn.Position = UDim2.new(1, -64, 0.5, -11) CopyBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 200) CopyBtn.Text = "COPY" CopyBtn.TextColor3 = WHITE CopyBtn.TextSize = 10 CopyBtn.Font = Enum.Font.GothamBold CopyBtn.BorderSizePixel = 0 CopyBtn.ZIndex = 106 CopyBtn.Parent = TGLinkFrame Instance.new("UICorner", CopyBtn).CornerRadius = UDim.new(0, 4) CopyBtn.MouseButton1Click:Connect(function() if setclipboard then setclipboard("https://t.me/HiVRSS") end TweenService:Create(CopyBtn, TweenInfo.new(0.1), {BackgroundColor3 = Color3.fromRGB(0, 200, 100)}):Play() TGLinkDesc.Text = "Copied!" task.wait(1) TweenService:Create(CopyBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 100, 200)}):Play() TGLinkDesc.Text = "Click to copy link" end) local VersionText = Instance.new("TextLabel") VersionText.Size = UDim2.new(1, -10, 0, 18) VersionText.BackgroundTransparency = 1 VersionText.Text = "v1.0.0 | mini" VersionText.TextColor3 = TEXT_DIM VersionText.TextSize = 9 VersionText.Font = Enum.Font.GothamMedium VersionText.ZIndex = 104 VersionText.Parent = TGPageData.Scroll -- =================== FLOATING + PULSE =================== local floatConn local basePos = MainFrame.Position local function startFloating() if floatConn then floatConn:Disconnect() end floatConn = RunService.RenderStepped:Connect(function() if not MainFrame.Visible then return end MainFrame.Position = UDim2.new(basePos.X.Scale, basePos.X.Offset, basePos.Y.Scale, basePos.Y.Offset + math.sin(tick() * 1.5) * 4) end) end MainFrame.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then basePos = MainFrame.Position startFloating() end end) MainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then if floatConn then floatConn:Disconnect(); floatConn = nil end end end) startFloating() task.spawn(function() while ScreenGui and ScreenGui.Parent and VText and VText.Parent do for i = 0, 1, 0.02 do if not VText or not VText.Parent then break end local a = 0.5 + math.sin(i * math.pi * 2) * 0.5 VText.TextColor3 = Color3.fromRGB(180 + 55 * a, 10 + 20 * a, 40 + 20 * a) CollapseStroke.Transparency = 0.7 - a * 0.5 task.wait(0.02) end end end) -- =================== INIT =================== updateAutoToggle() task.wait(1) showMenu() print("[VRSS] v1.0.0 mini Loaded")