Advertisement
Guest User

Apocalypse Rising 2 ESP

a guest
Jan 21st, 2020
10,457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. -->ESP Script created by SlumpyCS
  2. --This script only works for Apocalypse rising 2 on ROBLOX.
  3. local Characters = workspace.Characters
  4. local Player = game.Players.LocalPlayer
  5.  
  6. function CreateESP(Char)
  7. local Billboard = Instance.new("BillboardGui",Char.Head)
  8. Billboard.Name="Info"
  9. local Text = Instance.new("TextLabel", Billboard)
  10. local Dist = Instance.new("TextLabel", Billboard)
  11. Dist.Name="Dist"
  12. Dist.Size=UDim2.new(1,0,0,20)
  13. Dist.Position=UDim2.new(0,0,0,10)
  14. Dist.BackgroundTransparency=1
  15. Dist.TextColor3=Color3.fromRGB(255, 0, 0)
  16. Billboard.Size=UDim2.new(0, 100,0, 100)
  17. Billboard.AlwaysOnTop=true
  18. Billboard.ExtentsOffsetWorldSpace=Vector3.new(0,4,0)
  19. Text.Size=UDim2.new(0,100,0,10)
  20. Text.Position=UDim2.new(0,0,0,0)
  21. Text.Text=Char.Name
  22. Text.BackgroundTransparency=1
  23. Text.TextColor3=Color3.fromRGB(255,255,255)
  24. for i,v in pairs(Char:GetChildren()) do
  25. if v:IsA("MeshPart") or v:IsA("BasePart") then
  26. if v.Name~="HumanoidRootPart" then
  27. for i=0,5 do
  28. local Surface = Instance.new("SurfaceGui",v)
  29. local Frame = Instance.new("Frame",Surface)
  30. Frame.Size = UDim2.new(1,0,1,0)
  31. Frame.BackgroundTransparency=0.5
  32. Frame.BorderSizePixel=1
  33. Frame.BackgroundColor3=Color3.fromRGB(255,0,0)
  34. Surface.Face=i
  35. Surface.AlwaysOnTop=true
  36. end
  37. end
  38. end
  39. end
  40. end
  41.  
  42. workspace.Characters.ChildAdded:Connect(function(Plr)
  43. if Plr.Name~=game.Players.LocalPlayer.Name then
  44. CreateESP(Plr)
  45. end
  46. end)
  47.  
  48. for i,v in pairs(workspace.Characters:GetChildren()) do
  49. if v.Name~=game.Players.LocalPlayer.Name then
  50. CreateESP(v)
  51. end
  52. end
  53.  
  54.  
  55.  
  56. while wait() do
  57. repeat wait() until Player.Character
  58. for i,v in pairs(Characters:GetChildren()) do
  59. if v.Head:FindFirstChild("Info") then
  60. local Dist = v.Head:FindFirstChild("Info").Dist
  61. local hum = Player.Character:WaitForChild("HumanoidRootPart")
  62. Dist.Text=math.floor((hum.Position-v.HumanoidRootPart.Position).Magnitude).." m."
  63. end
  64. end
  65. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement