Advertisement
TheFlamingBlaster

Tracer v1.0

Feb 5th, 2017
812
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. script.Name = 'FlamingTRACE'
  3. function viewplr(player)
  4. if player ~= plr then
  5. local lasso = Instance.new('SelectionPartLasso')
  6. local bill = Instance.new('BillboardGui',plr.PlayerGui)
  7. bill.Name = player.Name
  8. --delay(0.0166666666666667,function() bill:Destroy() end)
  9. bill.StudsOffset = Vector3.new(0,3,0)
  10. bill.Size = UDim2.new(0,50,0,50)
  11. bill.Adornee = player.Character.Head
  12. local txt = Instance.new('TextLabel',bill)
  13. txt.Text = player.Name..':(calculating) studs'
  14. txt.BackgroundColor3 = Color3.new(0,0,255/255)
  15. txt.TextColor = BrickColor.White()
  16. txt.TextWrapped = true
  17. txt.BorderSizePixel = 0
  18. txt.Size = UDim2.new(0,50,0,50)
  19. txt.BackgroundTransparency = 0.5
  20. coroutine.resume(coroutine.create(function() game["Run Service"].RenderStepped:connect(function()
  21. lasso:Destroy()
  22. ypcall(function()
  23. if player.Character then
  24. if player.Character.Head then
  25.  
  26.  
  27.  
  28. if math.floor((player.Character.Head.Position - plr.Character.Head.Position).magnitude) < 512 then
  29. --repeat wait() until player.Head
  30. txt.Visible = true
  31. lasso = Instance.new('SelectionPartLasso',workspace.CurrentCamera)
  32. lasso.Humanoid = plr.Character.Humanoid
  33. lasso.Part = player.Character.Head
  34. txt.BackgroundColor3 = Color3.new(math.floor((player.Character.Head.Position - plr.Character.Head.Position).magnitude)/255,0.411765,0.67451)
  35. lasso.Color3 = Color3.new(math.floor((player.Character.Head.Position - plr.Character.Head.Position).magnitude)/255,105/255,172/255)
  36. --print(lasso.Color3)
  37. txt.Text = player.Name..': '..tostring(math.floor((player.Character.Head.Position - plr.Character.Head.Position).magnitude))..' studs'
  38. else
  39. txt.Visible = false
  40. end
  41. end
  42. end
  43. end)
  44. end)
  45. end))
  46. end
  47. end
  48. workspace.DescendantRemoving:connect(function(p)
  49. if p == plr.Character then
  50. workspace.CurrentCamera:ClearAllChildren()
  51. script.Disabled = true
  52. end
  53. end)
  54. workspace.DescendantAdded:connect(function(p)
  55. local player = game.Players:GetPlayerFromCharacter(p)
  56. if player then
  57. delay(1,function() viewplr(player) end)
  58. end
  59. end)
  60. for i,v in pairs(game.Players:GetChildren()) do
  61. if v:IsA('Player') then
  62. viewplr(v)
  63. end
  64. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement