local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "MM2 | Ultimate Roblotuber110", LoadingTitle = "Loading MM2 Modules...", LoadingSubtitle = "by Gemini ", ConfigurationSaving = { Enabled = true, FolderName = "MM2_Scripts", FileName = "MainConfig" }, }) -- Variables local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer -- TABS local MainTab = Window:CreateTab("Combat/Farm", 4483362458) local VisualTab = Window:CreateTab("Visuals", 4483362458) local MiscTab = Window:CreateTab("Misc", 4483362458) --- FUNCTIONS --- local function TweenTo(targetCFrame) if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then local info = TweenInfo.new(1, Enum.EasingStyle.Linear) -- Adjust '1' for speed local tween = TweenService:Create(LocalPlayer.Character.HumanoidRootPart, info, {CFrame = targetCFrame}) tween:Play() tween.Completed:Wait() end end --- MAIN TAB --- MainTab:CreateSection("Gun Systems") MainTab:CreateButton({ Name = "Auto-Get Dropped Gun", Callback = function() local Gun = workspace:FindFirstChild("GunDrop") if Gun then local oldPos = LocalPlayer.Character.HumanoidRootPart.CFrame TweenTo(Gun.CFrame) task.wait(0.3) TweenTo(oldPos) else Rayfield:Notify({Title = "Error", Content = "No gun dropped on floor!", Duration = 3}) end end, }) MainTab:CreateSection("Coin Farming") MainTab:CreateToggle({ Name = "Walk-Farm Coins (dont work)", CurrentValue = false, Flag = "CoinFarm", Callback = function(Value) _G.Farming = Value while _G.Farming do task.wait(0.1) local Container = workspace:FindFirstChild("CoinContainer", true) if Container then for _, coin in pairs(Container:GetChildren()) do if _G.Farming and coin:IsA("BasePart") then TweenTo(coin.CFrame) task.wait(0.1) end end end end end, }) --- VISUAL TAB --- VisualTab:CreateSection("World & Players") VisualTab:CreateButton({ Name = "Enable Roles ESP: if only green then re click", Callback = function() for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character then local High = Instance.new("Highlight", p.Character) High.FillTransparency = 0.5 -- Identify Roles if p.Backpack:FindFirstChild("Knife") or p.Character:FindFirstChild("Knife") then High.FillColor = Color3.fromRGB(255, 0, 0) -- Murderer Red elseif p.Backpack:FindFirstChild("Gun") or p.Character:FindFirstChild("Gun") then High.FillColor = Color3.fromRGB(0, 0, 255) -- Sheriff Blue else High.FillColor = Color3.fromRGB(0, 255, 0) -- Innocent Green end end end end, }) VisualTab:CreateToggle({ Name = "Full Bright", CurrentValue = false, Flag = "FBright", Callback = function(Value) if Value then game:GetService("Lighting").Brightness = 2 game:GetService("Lighting").ClockTime = 14 game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(255, 255, 255) else game:GetService("Lighting").Brightness = 1 game:GetService("Lighting").ClockTime = 12 end end, }) --- MISC TAB --- MiscTab:CreateSection("Spectate") MiscTab:CreateButton({ Name = "Spectate Murderer", Callback = function() for _, v in pairs(Players:GetPlayers()) do if v.Character and (v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife")) then workspace.CurrentCamera.CameraSubject = v.Character.Humanoid end end end, }) MiscTab:CreateButton({ Name = "Spectate Sheriff", Callback = function() for _, v in pairs(Players:GetPlayers()) do if v.Character and (v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun")) then workspace.CurrentCamera.CameraSubject = v.Character.Humanoid end end end, }) MiscTab:CreateButton({ Name = "Stop Spectating", Callback = function() workspace.CurrentCamera.CameraSubject = LocalPlayer.Character.Humanoid end, }) MiscTab:CreateSection("Character") MiscTab:CreateButton({ Name = "Invisible (Local)", Callback = function() local Character = LocalPlayer.Character for _, v in pairs(Character:GetDescendants()) do if v:IsA("BasePart") or v:IsA("Decal") then v.Transparency = 1 end end if Character:FindFirstChild("Head") and Character.Head:FindFirstChild("face") then Character.Head.face.Transparency = 1 end end, })