FlamingDrey

😂

May 16th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. game:GetService("RunService").RenderStepped:Connect(function()
  2. if v.Character ~= nil and v.Character:FindFirstChild("Humanoid") ~= nil and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and v ~= lplr and v.Character.Humanoid.Health > 0 then
  3. local Vector, OnScreen = camera:worldToViewportPoint(v.Character.HumanoidRootPart.Position)
  4.  
  5. if OnScreen then
  6. Tracer.From = Vector2.new(camera.ViewportSize.X / 2, camera.ViewportSize.Y / 1)
  7. Tracer.To = Vector2.new(Vector.X, Vector.Y)
  8.  
  9. if _G.TeamCheck and v.TeamColor == lplr.TeamColor then
  10. --//Teammates
  11. Tracer.Visible = false
  12. else
  13. --//Enemies
  14. Tracer.Visible = true
  15. end
  16. else
  17. Tracer.Visible = false
  18. end
  19. else
  20. Tracer.Visible = false
  21. end
  22. end)
  23. end
  24. coroutine.wrap(lineesp)()
  25. end)
  26. end)
  27.  
Advertisement
Add Comment
Please, Sign In to add comment