Upscalefanatic3

(MM2) Murder Mystery 2 script

Jun 5th, 2018
24,099
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script names the sheriff and murderer in the console (F9) and teleport's you to the gun if its dropped.
  2. -- This script will not work if you have the dual knife effect.
  3. -- This script was made by Luna#9505
  4.  
  5. for i,v in pairs(game.Players:GetChildren()) do
  6. if v.Backpack.Knife ~= nil or v.Character.Knife ~= nil then
  7. print(v.Name .. " is murderer")
  8. end
  9. end
  10.  
  11. for i,v in pairs(game.Players:GetChildren()) do
  12. if v.Backpack.Gun ~= nil or v.Backpack.Revolver ~= nil or v.Character.Gun ~= nil or v.Character.Revolver ~= nil then
  13. print(v.Name .. " is sheriff")
  14. end
  15. end
  16.  
  17. if workspace.GunDrop ~= nil then
  18. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.GunDrop.Position)
  19. end
RAW Paste Data