-- [[ 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 ]] local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "MM2 5V5", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "mm2 5v5", LoadingSubtitle = "by SCR14T", ShowText = "Rayfield", -- for mobile users to unhide Rayfield, change if you'd like Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes ToggleUIKeybind = "K", -- The keybind to toggle the UI visibility (string like "K" or Enum.KeyCode) DisableRayfieldPrompts = false, DisableBuildWarnings = false, -- Prevents Rayfield from emitting warnings when the script has a version mismatch with the interface. -- ScriptID = "sid_xxxxxxxxxxxx", -- Your Script ID from developer.sirius.menu — enables analytics, managed keys, and script hosting ConfigurationSaving = { Enabled = true, FolderName = nil, -- Create a custom folder for your hub/game FileName = "mm2-5v5" }, Discord = { Enabled = false, -- Prompt the user to join your Discord server if their executor supports it Invite = "noinvitelink", -- The Discord invite code, do not include Discord.gg/. E.g. Discord.gg/ABCD would be ABCD RememberJoins = true -- Set this to false to make them join the Discord every time they load it up }, KeySystem = false, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key FileName = "Key", -- It is recommended to use something unique, as other scripts using Rayfield may overwrite your key file SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"Hello"} -- List of keys that the system will accept, can be RAW file links (pastebin, github, etc.) or simple strings ("hello", "key22") } }) local Tab = Window:CreateTab("Knife Spam", 4483362458) -- Title, Image local Section = Tab:CreateSection("Select Map") local Button = Tab:CreateButton({ Name = "Hotel2 Knife Spam", Callback = function() while true do local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Event = LocalPlayer.ClientRemotes.KnifeThrow local Mouse = LocalPlayer:GetMouse() local Character = LocalPlayer.Character local Root = Character and Character:FindFirstChild("HumanoidRootPart") if not Root then return end local targetPosition = Mouse.Hit.Position local origin = Root.Position Event:InvokeServer( CFrame.lookAt(origin, targetPosition), targetPosition, "BasicKnife", workspace._G.Hotel2:GetChildren()[893] ) task.wait(0) end end, }) local Button = Tab:CreateButton({ Name = "Factory Knife Spam", Callback = function() while true do local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Event = LocalPlayer.ClientRemotes.KnifeThrow local Mouse = LocalPlayer:GetMouse() local Character = LocalPlayer.Character local Root = Character and Character:FindFirstChild("HumanoidRootPart") if not Root then return end local targetPosition = Mouse.Hit.Position local origin = Root.Position Event:InvokeServer( CFrame.lookAt(origin, targetPosition), targetPosition, "BasicKnife", workspace._G.Factory:GetChildren()[893] ) task.wait(0) end end, }) local Button = Tab:CreateButton({ Name = "Mansion2 Knife Spam", Callback = function() while true do local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Event = LocalPlayer.ClientRemotes.KnifeThrow local Mouse = LocalPlayer:GetMouse() local Character = LocalPlayer.Character local Root = Character and Character:FindFirstChild("HumanoidRootPart") if not Root then return end local targetPosition = Mouse.Hit.Position local origin = Root.Position Event:InvokeServer( CFrame.lookAt(origin, targetPosition), targetPosition, "BasicKnife", workspace._G.Mansion2:GetChildren()[893] ) task.wait(0) end end, }) local Button = Tab:CreateButton({ Name = "House2 Knife Spam", Callback = function() while true do local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Event = LocalPlayer.ClientRemotes.KnifeThrow local Mouse = LocalPlayer:GetMouse() local Character = LocalPlayer.Character local Root = Character and Character:FindFirstChild("HumanoidRootPart") if not Root then return end local targetPosition = Mouse.Hit.Position local origin = Root.Position Event:InvokeServer( CFrame.lookAt(origin, targetPosition), targetPosition, "BasicKnife", workspace._G.House2:GetChildren()[893] ) task.wait(0) end end, }) local Button = Tab:CreateButton({ Name = "MilBase Knife Spam", Callback = function() while true do local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Event = LocalPlayer.ClientRemotes.KnifeThrow local Mouse = LocalPlayer:GetMouse() local Character = LocalPlayer.Character local Root = Character and Character:FindFirstChild("HumanoidRootPart") if not Root then return end local targetPosition = Mouse.Hit.Position local origin = Root.Position Event:InvokeServer( CFrame.lookAt(origin, targetPosition), targetPosition, "BasicKnife", workspace._G.MilBase:GetChildren()[893] ) task.wait(0) end end, }) local Tab = Window:CreateTab("Visuals", 4483362458) -- Title, Image local Section = Tab:CreateSection("Esp") local Button = Tab:CreateButton({ Name = "Chams", Callback = function() local S, P, C3 = setmetatable({}, {__index = function(_,k) return game:GetService(k) end}), game:GetService("Players"), Color3.fromRGB local LP, Tag, Cons = P.LocalPlayer, "AdolfFX", {} if _G.UnloadChams then _G.UnloadChams() end local Cfg = {Enemy=C3(180,40,40), Ally=C3(40,180,80), FillTr=0.5, OutTr=0.1, TeamCheck=true} local function Paint(Chr, Plr) if not Chr or Chr:FindFirstChild(Tag) then return end local H = Instance.new("Highlight") local IsEnemy = (Cfg.TeamCheck and Plr.Team ~= LP.Team) or not Cfg.TeamCheck H.Name, H.FillColor, H.OutlineColor = Tag, IsEnemy and Cfg.Enemy or Cfg.Ally, C3(255,255,255) H.FillTransparency, H.OutlineTransparency = Cfg.FillTr, Cfg.OutTr H.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop H.Adornee, H.Parent = Chr, Chr end local function Hook(Plr) if Plr == LP then return end Cons[Plr] = Plr.CharacterAdded:Connect(function(c) task.wait(0.1); Paint(c, Plr) end) if Plr.Character then Paint(Plr.Character, Plr) end end for _, v in next, P:GetPlayers() do Hook(v) end Cons.Add = P.PlayerAdded:Connect(Hook) _G.UnloadChams = function() if Cons.Add then Cons.Add:Disconnect() end for _, c in next, Cons do if c.Disconnect then c:Disconnect() end end for _, v in next, P:GetPlayers() do if v.Character and v.Character:FindFirstChild(Tag) then v.Character[Tag]:Destroy() end end _G.UnloadChams = nil end end, })