Advertisement
creepstu

Muder Mystery X FREE RADIO & HUNTER 2 [roblox script]

Aug 12th, 2023
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. --[[
  2.     This script is to know who murderer is and who sheriff is.
  3.     Once you get into the game (except bonus round), execute this script once then open up console.
  4.     Mobile: Type '/console' in chat
  5.     PC: Click F9 key
  6.     GameName: Murder Mystery X FREE RADIO & HUNTER 2
  7.     GameLink: https://www.roblox.com/games/7525066054/Murder-Mystery-X-FREE-RADIO-HUNTER-2
  8. ]]--
  9.  
  10.  
  11. local function checkTool(toolName, role)
  12.     for _, player in pairs(game.Players:GetPlayers()) do
  13.         local tool = player.Backpack:FindFirstChild(toolName)
  14.         if tool then
  15.             print(player.Name .. " = " .. role)
  16.         end
  17.     end
  18. end
  19.  
  20. local roles = {
  21.     { toolName = "Knife", role = "MURDERER" },
  22.     { toolName = "Revolver", role = "SHERIFF" }
  23. }
  24.  
  25. print('<<__NEW MESSAGE_________________________________________>>')
  26.  
  27. for _, roleInfo in pairs(roles) do
  28.     checkTool(roleInfo.toolName, roleInfo.role)
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement