Just_A_Name

murd eps

Feb 21st, 2020
642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. -- ESP Function was not made by me.. It's been re-released a thousand times so I'm not sure who made it.
  2. function Create(base, team, role, fakedname)
  3. local bb = Instance.new('BillboardGui', game.CoreGui)
  4. bb.Adornee = base
  5. bb.ExtentsOffset = Vector3.new(0,1,0)
  6. bb.AlwaysOnTop = true
  7. bb.Size = UDim2.new(0,5,0,5)
  8. bb.StudsOffset = Vector3.new(0,1,0)
  9. bb.Name = 'tracker'
  10. local frame = Instance.new('Frame',bb)
  11. frame.ZIndex = 10
  12. frame.BackgroundTransparency = 0.3
  13. frame.Size = UDim2.new(1,0,1,0)
  14. local txtlbl = Instance.new('TextLabel',bb)
  15. txtlbl.ZIndex = 10
  16. txtlbl.BackgroundTransparency = 1
  17. txtlbl.Position = UDim2.new(0,0,0,-35)
  18. txtlbl.Size = UDim2.new(1,0,10,0)
  19. txtlbl.Font = 'ArialBold'
  20. txtlbl.FontSize = 'Size12'
  21. txtlbl.Text = fakedname .. " - " .. role -- Add Role to Name
  22. txtlbl.TextStrokeTransparency = 0.5
  23.  
  24. -- Change Color Via Role/Job
  25. if role == "Murderer" then
  26. txtlbl.TextColor3 = Color3.new(250,0,0)
  27. frame.BackgroundColor3 = Color3.new(250,0,0)
  28. else if role == "Sheriff" then
  29. txtlbl.TextColor3 = Color3.new(0,0,250)
  30. frame.BackgroundColor3 = Color3.new(0,0,250)
  31. end
  32. end
  33.  
  34. end
  35.  
  36. -- Clear our ESP out
  37. function Clear()
  38. for _,v in pairs(game.CoreGui:GetChildren()) do
  39. if v.Name == 'tracker' and v:isA('BillboardGui') then
  40. v:Destroy()
  41. end
  42. end
  43. end
  44.  
  45. -- User checking function
  46. function Find()
  47. Clear()
  48. track = true
  49. spawn(function()
  50. while wait(1) do
  51. pcall(function() -- Error Catch
  52. local Players = game.Players:GetChildren() -- Get Current Players
  53. if track then
  54. Clear()
  55. for _,v in pairs(Players) do
  56. if v.Status.Role.Value == "Murderer" then
  57. if v and v.Character.Head then
  58. Create(v.Character.Head, false, "Murderer", v.Status.FakeName.Value)
  59. end
  60. else if v.Status.HasRevolver.Value == true then
  61.  
  62. if v.Character and v.Character.Head then
  63. Create(v.Character.Head, false, "Sheriff", v.Status.FakeName.Value)
  64. end
  65.  
  66. else if v.Character and v.Character.Head then
  67. Create(v.Character.Head, false, "Bystander", v.Status.FakeName.Value)
  68. end
  69. end
  70. end
  71. end
  72. end
  73. wait(1)
  74. end)
  75. end
  76. end)
  77. end
  78.  
  79. -- Start everything
  80. Clear()
  81. Find()
  82. -- HamstaGang on V3RM
Add Comment
Please, Sign In to add comment