Advertisement
VoltixDevelopment

EZ ESP V0.2 by CodeUnsecure (Phantom Forces)

Nov 16th, 2022 (edited)
7,757
8
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 28.09 KB | None | 9 1
  1. --[[ CodeUnsecure EZ ESP Version 0.2 for Roblox, Phantom Forces.
  2.   ____    __         ______          __     __  __                                          ____    __  
  3.  / /\ \   \ \       / ____/___  ____/ /__  / / / /___  ________  _______  __________       / /\ \   \ \
  4. / /  \ \   \ \     / /   / __ \/ __  / _ \/ / / / __ \/ ___/ _ \/ ___/ / / / ___/ _ \     / /  \ \   \ \
  5. \ \   \ \  / /    / /___/ /_/ / /_/ /  __/ /_/ / / / (__  )  __/ /__/ /_/ / /  /  __/     \ \   \ \  / /
  6.  \_\   \_\/_/     \____/\____/\__,_/\___/\____/_/ /_/____/\___/\___/\__,_/_/   \___/       \_\   \_\/_/
  7.                                                                                                        
  8.   ____    __         ___________      ___________ ____     _    ______   ___        ____    __  
  9.  / /\ \   \ \       / ____/__  /     / ____/ ___// __ \   | |  / / __ \ |__ \      / /\ \   \ \
  10. / /  \ \   \ \     / __/    / /     / __/  \__ \/ /_/ /   | | / / / / / __/ /     / /  \ \   \ \
  11. \ \   \ \  / /    / /___   / /__   / /___ ___/ / ____/    | |/ / /_/ / / __/      \ \   \ \  / /
  12.  \_\   \_\/_/    /_____/  /____/  /_____//____/_/         |___/\____(_)____/       \_\   \_\/_/
  13.                                                                                                
  14. EZ ESP Version 0.2 (Phantom Forces) was developed by CodeUnsecure!
  15. Feel free to use this to develop your own ESP for Phantom Forces!
  16.  
  17. --> Version 0.1 Release:
  18. > Easy to use ESP.
  19. > Optional (seperate script) nametags.
  20. <PB> EZ ESP Version 0.1: https://pastebin.com/vLjmdyF6
  21. <PB> EZ ESP Nametag Add-on: https://pastebin.com/h6wxQQ2z
  22. <LS> EZ ESP Version 0.1: loadstring(game:HttpGet('https://pastebin.com/raw/vLjmdyF6'))()
  23. <LS> EZ ESP Nametag Add-on: loadstring(game:HttpGet('https://pastebin.com/raw/h6wxQQ2z'))()
  24.  
  25. --> Version 0.2 Release:
  26. > Nametags added as a main feature.
  27. > Health Display Bar added as a main feature.
  28. > Reworked ESP System.
  29. > Refined programming for a smoother performance.
  30. > Added an FPS Counter. Also shows your ping.
  31. <PB> EZ ESP Version 0.2: https://pastebin.com/L1bUS4zt
  32. <LS> EZ ESP Version 0.2: loadstring(game:HttpGet('https://pastebin.com/raw/L1bUS4zt'))()
  33.  
  34. --> Version 0.3 Upcoming:
  35. > Change ESP options with an easy to navigate GUI.
  36. > Much more will be added in Version 0.3 and Version 0.4
  37. > Version 0.5 will take a step outside of ESP and start introducing other features.
  38.  
  39. ]]
  40. local AI=Instance.new("BoolValue")
  41. local xDestroyScript=false
  42. local NDFolder=Instance.new("Folder")
  43. local ESPNameDisplay=Instance.new("BillboardGui")
  44. local MainFrame=Instance.new("Frame")
  45. local Username=Instance.new("TextLabel")
  46. local HealthDisplay=Instance.new("Frame")
  47. local Percent=Instance.new("Frame")
  48. local BV=Instance.new("BoolValue")
  49. BV.Name="Active"
  50. BV.Parent=NDFolder
  51. local BBESPFolder
  52. local BackBlue
  53. local Frame
  54. local BottomBlue
  55. local Frame_2
  56. local FrontBlue
  57. local Frame_3
  58. local LeftBlue
  59. local Frame_4
  60. local RightBlue
  61. local Frame_5
  62. local TopBlue
  63. local Frame_6
  64. local BOESPFolder
  65. local BackOrange
  66. local Frame_1
  67. local LeftOrange
  68. local Frame_7
  69. local RightOrange
  70. local Frame_8
  71. local TopOrange
  72. local Frame_9
  73. local BottomOrange
  74. local Frame_10
  75. local FrontOrange
  76. local Frame_11
  77. local FPSPING=Instance.new("ScreenGui")
  78. local Banner=Instance.new("ImageLabel")
  79. local FPSTitle=Instance.new("TextLabel")
  80. local FPS=Instance.new("TextLabel")
  81. local PINGTitle=Instance.new("TextLabel")
  82. local PING=Instance.new("TextLabel")
  83. local RunService=game:GetService("RunService")
  84. if game:GetService("Workspace").Players:FindFirstChild("AlreadyInstalled") then -- Checking if the ESP is already installed. If so do nothing, let the user know.
  85.     warn('CodeSecure EZ ESP V0.1 (Phantom Forces) is already installed!')
  86.     xDestroyScript=true --Useless in Version 0.2 but will be reused in Version 0.4 or higher.
  87. else -- Since the ESP isn't installed we'll go ahead and set our upvalues set and get our files ready to use.
  88.     AI.Name="AlreadyInstalled"
  89.     AI.Parent=game:GetService("Workspace").Players -- We just "installed" the ESP so that it can't be installed a second time.
  90.     warn('CodeSecure EZ ESP V0.1 (Phantom Forces) is now installed!')
  91.     NDFolder.Name="NameDisplays"
  92.     NDFolder.Parent=game:GetService("Workspace").Players
  93.     ESPNameDisplay.Name="ESPNameDisplay"
  94.     ESPNameDisplay.Parent=NDFolder
  95.     ESPNameDisplay.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  96.     ESPNameDisplay.Active=true
  97.     ESPNameDisplay.AlwaysOnTop=true
  98.     ESPNameDisplay.ResetOnSpawn=false
  99.     ESPNameDisplay.Size=UDim2.new(6, 0, 1, 0)
  100.     ESPNameDisplay.StudsOffset=Vector3.new(0, 3.5, 0)
  101.     ESPNameDisplay.Enabled=false
  102.     MainFrame.Name="MainFrame"
  103.     MainFrame.Parent=ESPNameDisplay
  104.     MainFrame.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  105.     MainFrame.BackgroundTransparency=1.000
  106.     MainFrame.Size=UDim2.new(1, 0, 1, 0)
  107.     Username.Name="Username"
  108.     Username.Parent=MainFrame
  109.     Username.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  110.     Username.BackgroundTransparency=1
  111.     Username.Size=UDim2.new(1, 0,1, 0)
  112.     Username.Font=Enum.Font.PermanentMarker
  113.     Username.Text="Getting Player Name..."
  114.     Username.TextTransparency=0.25
  115.     Username.TextStrokeTransparency=0
  116.     Username.TextStrokeColor3=Color3.new(0, 0, 0)
  117.     Username.TextScaled=true
  118.     Username.TextColor3=Color3.fromRGB(255, 255, 255)
  119.     Username.TextSize=25.000
  120.     Username.TextYAlignment=Enum.TextYAlignment.Top
  121.     HealthDisplay.Name="HealthDisplay"
  122.     HealthDisplay.Parent=MainFrame
  123.     HealthDisplay.BackgroundColor3=Color3.fromRGB(0, 0, 0)
  124.     HealthDisplay.BorderColor3=Color3.fromRGB(0, 0, 0)
  125.     HealthDisplay.Position=UDim2.new(0, 0, 0.85, 0)
  126.     HealthDisplay.Size=UDim2.new(1, 0, 0.15, 0)
  127.     Percent.Name="Percent"
  128.     Percent.Parent=HealthDisplay
  129.     Percent.BackgroundColor3=Color3.fromRGB(0, 255, 0)
  130.     Percent.BorderSizePixel=0
  131.     Percent.Size=UDim2.new(1, 0, 1, 0)
  132.     BBESPFolder=Instance.new("Folder")
  133.     BBESPFolder.Name="BBESP"
  134.     BBESPFolder.Parent=game:GetService("Workspace").Players
  135.     BackBlue=Instance.new("SurfaceGui")
  136.     Frame=Instance.new("Frame")
  137.     BottomBlue=Instance.new("SurfaceGui")
  138.     Frame_2=Instance.new("Frame")
  139.     FrontBlue=Instance.new("SurfaceGui")
  140.     Frame_3=Instance.new("Frame")
  141.     LeftBlue=Instance.new("SurfaceGui")
  142.     Frame_4=Instance.new("Frame")
  143.     RightBlue=Instance.new("SurfaceGui")
  144.     Frame_5=Instance.new("Frame")
  145.     TopBlue=Instance.new("SurfaceGui")
  146.     Frame_6=Instance.new("Frame")
  147.     BackBlue.Name="BackBlue"
  148.     BackBlue.Parent=BBESPFolder
  149.     BackBlue.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  150.     BackBlue.AlwaysOnTop=true
  151.     BackBlue.Face=Enum.NormalId.Back
  152.     BackBlue.LightInfluence=1.000
  153.     Frame.Parent=BackBlue
  154.     Frame.BackgroundColor3=Color3.fromRGB(78, 164, 239)
  155.     Frame.BackgroundTransparency=0.500
  156.     Frame.Size=UDim2.new(1, 0, 1, 0)
  157.     BottomBlue.Name="BottomBlue"
  158.     BottomBlue.Parent=BBESPFolder
  159.     BottomBlue.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  160.     BottomBlue.AlwaysOnTop=true
  161.     BottomBlue.Face=Enum.NormalId.Bottom
  162.     BottomBlue.LightInfluence=1.000
  163.     Frame_2.Parent=BottomBlue
  164.     Frame_2.BackgroundColor3=Color3.fromRGB(78, 164, 239)
  165.     Frame_2.BackgroundTransparency=0.500
  166.     Frame_2.Size=UDim2.new(1, 0, 1, 0)
  167.     FrontBlue.Name="FrontBlue"
  168.     FrontBlue.Parent=BBESPFolder
  169.     FrontBlue.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  170.     FrontBlue.AlwaysOnTop=true
  171.     FrontBlue.LightInfluence=1.000
  172.     Frame_3.Parent=FrontBlue
  173.     Frame_3.BackgroundColor3=Color3.fromRGB(78, 164, 239)
  174.     Frame_3.BackgroundTransparency=0.500
  175.     Frame_3.Size=UDim2.new(1, 0, 1, 0)
  176.     LeftBlue.Name="LeftBlue"
  177.     LeftBlue.Parent=BBESPFolder
  178.     LeftBlue.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  179.     LeftBlue.AlwaysOnTop=true
  180.     LeftBlue.Face=Enum.NormalId.Left
  181.     LeftBlue.LightInfluence=1.000
  182.     Frame_4.Parent=LeftBlue
  183.     Frame_4.BackgroundColor3=Color3.fromRGB(78, 164, 239)
  184.     Frame_4.BackgroundTransparency=0.500
  185.     Frame_4.Size=UDim2.new(1, 0, 1, 0)
  186.     RightBlue.Name="RightBlue"
  187.     RightBlue.Parent=BBESPFolder
  188.     RightBlue.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  189.     RightBlue.AlwaysOnTop=true
  190.     RightBlue.Face=Enum.NormalId.Right
  191.     RightBlue.LightInfluence=1.000
  192.     Frame_5.Parent=RightBlue
  193.     Frame_5.BackgroundColor3=Color3.fromRGB(78, 164, 239)
  194.     Frame_5.BackgroundTransparency=0.500
  195.     Frame_5.Size=UDim2.new(1, 0, 1, 0)
  196.     TopBlue.Name="TopBlue"
  197.     TopBlue.Parent=BBESPFolder
  198.     TopBlue.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  199.     TopBlue.AlwaysOnTop=true
  200.     TopBlue.Face=Enum.NormalId.Top
  201.     TopBlue.LightInfluence=1.000
  202.     Frame_6.Parent=TopBlue
  203.     Frame_6.BackgroundColor3=Color3.fromRGB(78, 164, 239)
  204.     Frame_6.BackgroundTransparency=0.500
  205.     Frame_6.Size=UDim2.new(1, 0, 1, 0)
  206.     BOESPFolder=Instance.new("Folder")
  207.     BOESPFolder.Name="BOESP"
  208.     BOESPFolder.Parent=game:GetService("Workspace").Players
  209.     BackOrange=Instance.new("SurfaceGui")
  210.     Frame_1=Instance.new("Frame")
  211.     LeftOrange=Instance.new("SurfaceGui")
  212.     Frame_7=Instance.new("Frame")
  213.     RightOrange=Instance.new("SurfaceGui")
  214.     Frame_8=Instance.new("Frame")
  215.     TopOrange=Instance.new("SurfaceGui")
  216.     Frame_9=Instance.new("Frame")
  217.     BottomOrange=Instance.new("SurfaceGui")
  218.     Frame_10=Instance.new("Frame")
  219.     FrontOrange=Instance.new("SurfaceGui")
  220.     Frame_11=Instance.new("Frame")
  221.     BackOrange.Name="BackOrange"
  222.     BackOrange.Parent=BOESPFolder
  223.     BackOrange.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  224.     BackOrange.AlwaysOnTop=true
  225.     BackOrange.Face=Enum.NormalId.Back
  226.     BackOrange.LightInfluence=1.000
  227.     Frame_1.Parent=BackOrange
  228.     Frame_1.BackgroundColor3=Color3.fromRGB(239, 171, 83)
  229.     Frame_1.BackgroundTransparency=0.500
  230.     Frame_1.Size=UDim2.new(1, 0, 1, 0)
  231.     LeftOrange.Name="LeftOrange"
  232.     LeftOrange.Parent=BOESPFolder
  233.     LeftOrange.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  234.     LeftOrange.AlwaysOnTop=true
  235.     LeftOrange.Face=Enum.NormalId.Left
  236.     LeftOrange.LightInfluence=1.000
  237.     Frame_7.Parent=LeftOrange
  238.     Frame_7.BackgroundColor3=Color3.fromRGB(239, 171, 83)
  239.     Frame_7.BackgroundTransparency=0.500
  240.     Frame_7.Size=UDim2.new(1, 0, 1, 0)
  241.     RightOrange.Name="RightOrange"
  242.     RightOrange.Parent=BOESPFolder
  243.     RightOrange.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  244.     RightOrange.AlwaysOnTop=true
  245.     RightOrange.Face=Enum.NormalId.Right
  246.     RightOrange.LightInfluence=1.000
  247.     Frame_8.Parent=RightOrange
  248.     Frame_8.BackgroundColor3=Color3.fromRGB(239, 171, 83)
  249.     Frame_8.BackgroundTransparency=0.500
  250.     Frame_8.Size=UDim2.new(1, 0, 1, 0)
  251.     TopOrange.Name="TopOrange"
  252.     TopOrange.Parent=BOESPFolder
  253.     TopOrange.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  254.     TopOrange.AlwaysOnTop=true
  255.     TopOrange.Face=Enum.NormalId.Top
  256.     TopOrange.LightInfluence=1.000
  257.     Frame_9.Parent=TopOrange
  258.     Frame_9.BackgroundColor3=Color3.fromRGB(239, 171, 83)
  259.     Frame_9.BackgroundTransparency=0.500
  260.     Frame_9.Size=UDim2.new(1, 0, 1, 0)
  261.     BottomOrange.Name="BottomOrange"
  262.     BottomOrange.Parent=BOESPFolder
  263.     BottomOrange.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  264.     BottomOrange.AlwaysOnTop=true
  265.     BottomOrange.Face=Enum.NormalId.Bottom
  266.     BottomOrange.LightInfluence=1.000
  267.     Frame_10.Parent=BottomOrange
  268.     Frame_10.BackgroundColor3=Color3.fromRGB(239, 171, 83)
  269.     Frame_10.BackgroundTransparency=0.500
  270.     Frame_10.Size=UDim2.new(1, 0, 1, 0)
  271.     FrontOrange.Name="FrontOrange"
  272.     FrontOrange.Parent=BOESPFolder
  273.     FrontOrange.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  274.     FrontOrange.AlwaysOnTop=true
  275.     FrontOrange.LightInfluence=1.000
  276.     Frame_11.Parent=FrontOrange
  277.     Frame_11.BackgroundColor3=Color3.fromRGB(239, 171, 83)
  278.     Frame_11.BackgroundTransparency=0.500
  279.     Frame_11.Size=UDim2.new(1, 0, 1, 0)
  280.     FPSPING.Name="FPS&PING"
  281.     FPSPING.Parent=game.Players.LocalPlayer:WaitForChild("PlayerGui")
  282.     FPSPING.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
  283.     FPSPING.ResetOnSpawn=false
  284.     Banner.Name="Banner"
  285.     Banner.Parent=FPSPING
  286.     Banner.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  287.     Banner.BackgroundTransparency=1.000
  288.     Banner.Position=UDim2.new(0.850000024, 0, 0.0500000007, 0)
  289.     Banner.Size=UDim2.new(0.150000006, 0, 0.0500000007, 0)
  290.     Banner.Image="http://www.roblox.com/asset/?id=11584823708"
  291.     FPSTitle.Name="FPSTitle"
  292.     FPSTitle.Parent=Banner
  293.     FPSTitle.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  294.     FPSTitle.BackgroundTransparency=1.000
  295.     FPSTitle.Position=UDim2.new(0.158000007, 0, 0.200000003, 0)
  296.     FPSTitle.Size=UDim2.new(0.185000002, 0, 0.600000024, 0)
  297.     FPSTitle.Font=Enum.Font.PermanentMarker
  298.     FPSTitle.Text="FPS:"
  299.     FPSTitle.TextColor3=Color3.fromRGB(100, 100, 100)
  300.     FPSTitle.TextScaled=true
  301.     FPSTitle.TextSize=14.000
  302.     FPSTitle.TextStrokeTransparency=0.000
  303.     FPSTitle.TextWrapped=true
  304.     FPS.Name="FPS"
  305.     FPS.Parent=Banner
  306.     FPS.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  307.     FPS.BackgroundTransparency=1.000
  308.     FPS.Position=UDim2.new(0.342998326, 0, 0.200000003, 0)
  309.     FPS.Size=UDim2.new(0.185000002, 0, 0.600000024, 0)
  310.     FPS.Font=Enum.Font.PermanentMarker
  311.     FPS.Text="60"
  312.     FPS.TextColor3=Color3.fromRGB(47, 47, 47)
  313.     FPS.TextScaled=true
  314.     FPS.TextSize=14.000
  315.     FPS.TextStrokeColor3=Color3.fromRGB(255, 255, 255)
  316.     FPS.TextStrokeTransparency=0.250
  317.     FPS.TextWrapped=true
  318.     PINGTitle.Name="PINGTitle"
  319.     PINGTitle.Parent=Banner
  320.     PINGTitle.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  321.     PINGTitle.BackgroundTransparency=1.000
  322.     PINGTitle.Position=UDim2.new(0.527998209, 0, 0.199999943, 0)
  323.     PINGTitle.Size=UDim2.new(0.221998021, 0, 0.600000024, 0)
  324.     PINGTitle.Font=Enum.Font.PermanentMarker
  325.     PINGTitle.Text="Ping:"
  326.     PINGTitle.TextColor3=Color3.fromRGB(100, 100, 100)
  327.     PINGTitle.TextScaled=true
  328.     PINGTitle.TextSize=14.000
  329.     PINGTitle.TextStrokeTransparency=0.000
  330.     PINGTitle.TextWrapped=true
  331.     PING.Name="PING"
  332.     PING.Parent=Banner
  333.     PING.BackgroundColor3=Color3.fromRGB(255, 255, 255)
  334.     PING.BackgroundTransparency=1.000
  335.     PING.Position=UDim2.new(0.749994516, 0, 0.199999943, 0)
  336.     PING.Size=UDim2.new(0.250005215, 0, 0.600000024, 0)
  337.     PING.Font=Enum.Font.PermanentMarker
  338.     PING.Text="1ms"
  339.     PING.TextColor3=Color3.fromRGB(47, 47, 47)
  340.     PING.TextScaled=true
  341.     PING.TextSize=14.000
  342.     PING.TextStrokeColor3=Color3.fromRGB(255, 255, 255)
  343.     PING.TextStrokeTransparency=0.250
  344.     PING.TextWrapped=true
  345.     local BBPlrs=game:GetService("Workspace").Players["Bright blue"]:GetChildren() -- The script runs when a remote event is fired so we're gonna go ahead and add ESP for everyone.
  346.     for i=1,#BBPlrs do
  347.         local xActive=BV:Clone()
  348.         xActive.Parent=BBPlrs[i]
  349.         local xHead=BBPlrs[i]:FindFirstChild("Head")
  350.         local BBTop=TopBlue:Clone()
  351.         BBTop.Parent=xHead
  352.         local BBBottom=BottomBlue:Clone()
  353.         BBBottom.Parent=xHead
  354.         local BBLeft=LeftBlue:Clone()
  355.         BBLeft.Parent=xHead
  356.         local BBRight=RightBlue:Clone()
  357.         BBRight.Parent=xHead
  358.         local BBFront=FrontBlue:Clone()
  359.         BBFront.Parent=xHead
  360.         local BBBack=BackBlue:Clone()
  361.         BBBack.Parent=xHead
  362.         local xTorso=BBPlrs[i]:FindFirstChild("Torso")
  363.         local BBTop=TopBlue:Clone()
  364.         BBTop.Parent=xTorso
  365.         local BBBottom=BottomBlue:Clone()
  366.         BBBottom.Parent=xTorso
  367.         local BBLeft=LeftBlue:Clone()
  368.         BBLeft.Parent=xTorso
  369.         local BBRight=RightBlue:Clone()
  370.         BBRight.Parent=xTorso
  371.         local BBFront=FrontBlue:Clone()
  372.         BBFront.Parent=xTorso
  373.         local BBBack=BackBlue:Clone()
  374.         BBBack.Parent=xTorso
  375.         local xLA=BBPlrs[i]:FindFirstChild("Left Arn")
  376.         local BBTop=TopBlue:Clone()
  377.         BBTop.Parent=xLA
  378.         local BBBottom=BottomBlue:Clone()
  379.         BBBottom.Parent=xLA
  380.         local BBLeft=LeftBlue:Clone()
  381.         BBLeft.Parent=xLA
  382.         local BBRight=RightBlue:Clone()
  383.         BBRight.Parent=xLA
  384.         local BBFront=FrontBlue:Clone()
  385.         BBFront.Parent=xLA
  386.         local BBBack=BackBlue:Clone()
  387.         BBBack.Parent=xLA
  388.         local xRA=BBPlrs[i]:FindFirstChild("Right Arm")
  389.         local BBTop=TopBlue:Clone()
  390.         BBTop.Parent=xRA
  391.         local BBBottom=BottomBlue:Clone()
  392.         BBBottom.Parent=xRA
  393.         local BBLeft=LeftBlue:Clone()
  394.         BBLeft.Parent=xRA
  395.         local BBRight=RightBlue:Clone()
  396.         BBRight.Parent=xRA
  397.         local BBFront=FrontBlue:Clone()
  398.         BBFront.Parent=xRA
  399.         local BBBack=BackBlue:Clone()
  400.         BBBack.Parent=xRA
  401.         local xLL=BBPlrs[i]:FindFirstChild("Left Leg")
  402.         local BBTop=TopBlue:Clone()
  403.         BBTop.Parent=xLL
  404.         local BBBottom=BottomBlue:Clone()
  405.         BBBottom.Parent=xLL
  406.         local BBLeft=LeftBlue:Clone()
  407.         BBLeft.Parent=xLL
  408.         local BBRight=RightBlue:Clone()
  409.         BBRight.Parent=xLL
  410.         local BBFront=FrontBlue:Clone()
  411.         BBFront.Parent=xLL
  412.         local BBBack=BackBlue:Clone()
  413.         BBBack.Parent=xLL
  414.         local xRL=BBPlrs[i]:FindFirstChild("Right Leg")
  415.         local BBTop=TopBlue:Clone()
  416.         BBTop.Parent=xRL
  417.         local BBBottom=BottomBlue:Clone()
  418.         BBBottom.Parent=xRL
  419.         local BBLeft=LeftBlue:Clone()
  420.         BBLeft.Parent=xRL
  421.         local BBRight=RightBlue:Clone()
  422.         BBRight.Parent=xRL
  423.         local BBFront=FrontBlue:Clone()
  424.         BBFront.Parent=xRL
  425.         local BBBack=BackBlue:Clone()
  426.         BBBack.Parent=xRL
  427.     end
  428.     local BOPlrs=game:GetService("Workspace").Players["Bright orange"]:GetChildren() -- The script runs when a remote event is fired so we're gonna go ahead and add ESP for everyone.
  429.     for i=1,#BOPlrs do
  430.         local xActive=BV:Clone()
  431.         xActive.Parent=BOPlrs[i]
  432.         local xHead=BOPlrs[i]:FindFirstChild("Head")
  433.         local BOTop=TopOrange:Clone()
  434.         BOTop.Parent=xHead
  435.         local BOBottom=BottomOrange:Clone()
  436.         BOBottom.Parent=xHead
  437.         local BOLeft=LeftOrange:Clone()
  438.         BOLeft.Parent=xHead
  439.         local BORight=RightOrange:Clone()
  440.         BORight.Parent=xHead
  441.         local BOFront=FrontOrange:Clone()
  442.         BOFront.Parent=xHead
  443.         local BOBack=BackOrange:Clone()
  444.         BOBack.Parent=xHead
  445.         local xTorso=BOPlrs[i]:FindFirstChild("Torso")
  446.         local BOTop=TopOrange:Clone()
  447.         BOTop.Parent=xTorso
  448.         local BOBottom=BottomOrange:Clone()
  449.         BOBottom.Parent=xTorso
  450.         local BOLeft=LeftOrange:Clone()
  451.         BOLeft.Parent=xTorso
  452.         local BORight=RightOrange:Clone()
  453.         BORight.Parent=xTorso
  454.         local BOFront=FrontOrange:Clone()
  455.         BOFront.Parent=xTorso
  456.         local BOBack=BackOrange:Clone()
  457.         BOBack.Parent=xTorso
  458.         local xLA=BOPlrs[i]:FindFirstChild("Left Arn")
  459.         local BOTop=TopOrange:Clone()
  460.         BOTop.Parent=xLA
  461.         local BOBottom=BottomOrange:Clone()
  462.         BOBottom.Parent=xLA
  463.         local BOLeft=LeftOrange:Clone()
  464.         BOLeft.Parent=xLA
  465.         local BORight=RightOrange:Clone()
  466.         BORight.Parent=xLA
  467.         local BOFront=FrontOrange:Clone()
  468.         BOFront.Parent=xLA
  469.         local BOBack=BackOrange:Clone()
  470.         BOBack.Parent=xLA
  471.         local xRA=BOPlrs[i]:FindFirstChild("Right Arm")
  472.         local BOTop=TopOrange:Clone()
  473.         BOTop.Parent=xRA
  474.         local BOBottom=BottomOrange:Clone()
  475.         BOBottom.Parent=xRA
  476.         local BOLeft=LeftOrange:Clone()
  477.         BOLeft.Parent=xRA
  478.         local BORight=RightOrange:Clone()
  479.         BORight.Parent=xRA
  480.         local BOFront=FrontOrange:Clone()
  481.         BOFront.Parent=xRA
  482.         local BOBack=BackOrange:Clone()
  483.         BOBack.Parent=xRA
  484.         local xLL=BOPlrs[i]:FindFirstChild("Left Leg")
  485.         local BOTop=TopOrange:Clone()
  486.         BOTop.Parent=xLL
  487.         local BOBottom=BottomOrange:Clone()
  488.         BOBottom.Parent=xLL
  489.         local BOLeft=LeftOrange:Clone()
  490.         BOLeft.Parent=xLL
  491.         local BORight=RightOrange:Clone()
  492.         BORight.Parent=xLL
  493.         local BOFront=FrontOrange:Clone()
  494.         BOFront.Parent=xLL
  495.         local BOBack=BackOrange:Clone()
  496.         BOBack.Parent=xLL
  497.         local xRL=BOPlrs[i]:FindFirstChild("Right Leg")
  498.         local BOTop=TopOrange:Clone()
  499.         BOTop.Parent=xRL
  500.         local BOBottom=BottomOrange:Clone()
  501.         BOBottom.Parent=xRL
  502.         local BOLeft=LeftOrange:Clone()
  503.         BOLeft.Parent=xRL
  504.         local BORight=RightOrange:Clone()
  505.         BORight.Parent=xRL
  506.         local BOFront=FrontOrange:Clone()
  507.         BOFront.Parent=xRL
  508.         local BOBack=BackOrange:Clone()
  509.         BOBack.Parent=xRL
  510.     end
  511. end
  512. local PlrName
  513. local RE=game:GetService("ReplicatedStorage").RemoteEvent
  514. RE.OnClientEvent:Connect(function(xSpawn, xArgTwo, xArgThree) -- This is the remote event I was talking about. Originally this script didn't have the names and healthbar so xArgOne was renamed to xSpawn.
  515.     local xNDClone=NDFolder:WaitForChild("ESPNameDisplay"):Clone()
  516.     if xSpawn=="newspawn"then -- Checking the first argument included with the fired remote event. Looking for newly spawned players.
  517.         PlrName=tostring(xArgTwo) -- A player spawned and their name is PlrName.
  518.         game:GetService("Workspace").Players["Bright blue"].ChildAdded:Connect(function(xChild) -- Now that we know someone has spawned we have to find their body. We're waiting for the team to receive a new child.
  519.             if xChild:FindFirstChild("ESPNameDisplay") then
  520.             else
  521.                 xNDClone.Parent=xChild
  522.                 xNDClone.Enabled=true
  523.                 xChild.ESPNameDisplay.MainFrame.Username.Text=PlrName
  524.                 xChild.Name=PlrName
  525.                 if xChild:FindFirstChild("Active") then
  526.                 else
  527.                     local xActive=BV:Clone()
  528.                     xActive.Parent=xChild
  529.                     local xHead=xChild:FindFirstChild("Head")
  530.                     local BBTop=TopBlue:Clone()
  531.                     BBTop.Parent=xHead
  532.                     local BBBottom=BottomBlue:Clone()
  533.                     BBBottom.Parent=xHead
  534.                     local BBLeft=LeftBlue:Clone()
  535.                     BBLeft.Parent=xHead
  536.                     local BBRight=RightBlue:Clone()
  537.                     BBRight.Parent=xHead
  538.                     local BBFront=FrontBlue:Clone()
  539.                     BBFront.Parent=xHead
  540.                     local BBBack=BackBlue:Clone()
  541.                     BBBack.Parent=xHead
  542.                     local xTorso=xChild:FindFirstChild("Torso")
  543.                     local BBTop=TopBlue:Clone()
  544.                     BBTop.Parent=xTorso
  545.                     local BBBottom=BottomBlue:Clone()
  546.                     BBBottom.Parent=xTorso
  547.                     local BBLeft=LeftBlue:Clone()
  548.                     BBLeft.Parent=xTorso
  549.                     local BBRight=RightBlue:Clone()
  550.                     BBRight.Parent=xTorso
  551.                     local BBFront=FrontBlue:Clone()
  552.                     BBFront.Parent=xTorso
  553.                     local BBBack=BackBlue:Clone()
  554.                     BBBack.Parent=xTorso
  555.                     local xLA=xChild:FindFirstChild("Left Arn")
  556.                     local BBTop=TopBlue:Clone()
  557.                     BBTop.Parent=xLA
  558.                     local BBBottom=BottomBlue:Clone()
  559.                     BBBottom.Parent=xLA
  560.                     local BBLeft=LeftBlue:Clone()
  561.                     BBLeft.Parent=xLA
  562.                     local BBRight=RightBlue:Clone()
  563.                     BBRight.Parent=xLA
  564.                     local BBFront=FrontBlue:Clone()
  565.                     BBFront.Parent=xLA
  566.                     local BBBack=BackBlue:Clone()
  567.                     BBBack.Parent=xLA
  568.                     local xRA=xChild:FindFirstChild("Right Arm")
  569.                     local BBTop=TopBlue:Clone()
  570.                     BBTop.Parent=xRA
  571.                     local BBBottom=BottomBlue:Clone()
  572.                     BBBottom.Parent=xRA
  573.                     local BBLeft=LeftBlue:Clone()
  574.                     BBLeft.Parent=xRA
  575.                     local BBRight=RightBlue:Clone()
  576.                     BBRight.Parent=xRA
  577.                     local BBFront=FrontBlue:Clone()
  578.                     BBFront.Parent=xRA
  579.                     local BBBack=BackBlue:Clone()
  580.                     BBBack.Parent=xRA
  581.                     local xLL=xChild:FindFirstChild("Left Leg")
  582.                     local BBTop=TopBlue:Clone()
  583.                     BBTop.Parent=xLL
  584.                     local BBBottom=BottomBlue:Clone()
  585.                     BBBottom.Parent=xLL
  586.                     local BBLeft=LeftBlue:Clone()
  587.                     BBLeft.Parent=xLL
  588.                     local BBRight=RightBlue:Clone()
  589.                     BBRight.Parent=xLL
  590.                     local BBFront=FrontBlue:Clone()
  591.                     BBFront.Parent=xLL
  592.                     local BBBack=BackBlue:Clone()
  593.                     BBBack.Parent=xLL
  594.                     local xRL=xChild:FindFirstChild("Right Leg")
  595.                     local BBTop=TopBlue:Clone()
  596.                     BBTop.Parent=xRL
  597.                     local BBBottom=BottomBlue:Clone()
  598.                     BBBottom.Parent=xRL
  599.                     local BBLeft=LeftBlue:Clone()
  600.                     BBLeft.Parent=xRL
  601.                     local BBRight=RightBlue:Clone()
  602.                     BBRight.Parent=xRL
  603.                     local BBFront=FrontBlue:Clone()
  604.                     BBFront.Parent=xRL
  605.                     local BBBack=BackBlue:Clone()
  606.                     BBBack.Parent=xRL
  607.                 end
  608.             end
  609.         end)
  610.         game:GetService("Workspace").Players["Bright orange"].ChildAdded:Connect(function(xChild) -- Now that we know someone has spawned we have to find their body. We're waiting for the team to receive a new child.
  611.             if xChild:FindFirstChild("ESPNameDisplay") then
  612.             else
  613.                 xNDClone.Parent=xChild
  614.                 xNDClone.Enabled=true
  615.                 xChild.ESPNameDisplay.MainFrame.Username.Text=PlrName
  616.                 xChild.Name=PlrName
  617.                 if xChild:FindFirstChild("Active") then
  618.                 else
  619.                     local xActive=BV:Clone()
  620.                     xActive.Parent=xChild
  621.                     local xHead=xChild:FindFirstChild("Head")
  622.                     local BOTop=TopOrange:Clone()
  623.                     BOTop.Parent=xHead
  624.                     local BOBottom=BottomOrange:Clone()
  625.                     BOBottom.Parent=xHead
  626.                     local BOLeft=LeftOrange:Clone()
  627.                     BOLeft.Parent=xHead
  628.                     local BORight=RightOrange:Clone()
  629.                     BORight.Parent=xHead
  630.                     local BOFront=FrontOrange:Clone()
  631.                     BOFront.Parent=xHead
  632.                     local BOBack=BackOrange:Clone()
  633.                     BOBack.Parent=xHead
  634.                     local xTorso=xChild:FindFirstChild("Torso")
  635.                     local BOTop=TopOrange:Clone()
  636.                     BOTop.Parent=xTorso
  637.                     local BOBottom=BottomOrange:Clone()
  638.                     BOBottom.Parent=xTorso
  639.                     local BOLeft=LeftOrange:Clone()
  640.                     BOLeft.Parent=xTorso
  641.                     local BORight=RightOrange:Clone()
  642.                     BORight.Parent=xTorso
  643.                     local BOFront=FrontOrange:Clone()
  644.                     BOFront.Parent=xTorso
  645.                     local BOBack=BackOrange:Clone()
  646.                     BOBack.Parent=xTorso
  647.                     local xLA=xChild:FindFirstChild("Left Arn")
  648.                     local BOTop=TopOrange:Clone()
  649.                     BOTop.Parent=xLA
  650.                     local BOBottom=BottomOrange:Clone()
  651.                     BOBottom.Parent=xLA
  652.                     local BOLeft=LeftOrange:Clone()
  653.                     BOLeft.Parent=xLA
  654.                     local BORight=RightOrange:Clone()
  655.                     BORight.Parent=xLA
  656.                     local BOFront=FrontOrange:Clone()
  657.                     BOFront.Parent=xLA
  658.                     local BOBack=BackOrange:Clone()
  659.                     BOBack.Parent=xLA
  660.                     local xRA=xChild:FindFirstChild("Right Arm")
  661.                     local BOTop=TopOrange:Clone()
  662.                     BOTop.Parent=xRA
  663.                     local BOBottom=BottomOrange:Clone()
  664.                     BOBottom.Parent=xRA
  665.                     local BOLeft=LeftOrange:Clone()
  666.                     BOLeft.Parent=xRA
  667.                     local BORight=RightOrange:Clone()
  668.                     BORight.Parent=xRA
  669.                     local BOFront=FrontOrange:Clone()
  670.                     BOFront.Parent=xRA
  671.                     local BOBack=BackOrange:Clone()
  672.                     BOBack.Parent=xRA
  673.                     local xLL=xChild:FindFirstChild("Left Leg")
  674.                     local BOTop=TopOrange:Clone()
  675.                     BOTop.Parent=xLL
  676.                     local BOBottom=BottomOrange:Clone()
  677.                     BOBottom.Parent=xLL
  678.                     local BOLeft=LeftOrange:Clone()
  679.                     BOLeft.Parent=xLL
  680.                     local BORight=RightOrange:Clone()
  681.                     BORight.Parent=xLL
  682.                     local BOFront=FrontOrange:Clone()
  683.                     BOFront.Parent=xLL
  684.                     local BOBack=BackOrange:Clone()
  685.                     BOBack.Parent=xLL
  686.                     local xRL=xChild:FindFirstChild("Right Leg")
  687.                     local BOTop=TopOrange:Clone()
  688.                     BOTop.Parent=xRL
  689.                     local BOBottom=BottomOrange:Clone()
  690.                     BOBottom.Parent=xRL
  691.                     local BOLeft=LeftOrange:Clone()
  692.                     BOLeft.Parent=xRL
  693.                     local BORight=RightOrange:Clone()
  694.                     BORight.Parent=xRL
  695.                     local BOFront=FrontOrange:Clone()
  696.                     BOFront.Parent=xRL
  697.                     local BOBack=BackOrange:Clone()
  698.                     BOBack.Parent=xRL
  699.                 end
  700.             end
  701.         end)
  702.     end
  703.     if xSpawn=="updateothershealth"then
  704.         local xHP=math.round(xArgThree)
  705.         if xHP>=100 then else
  706.             local xNewHP=tonumber("0."..xHP)
  707.             local BBPlrs=game:GetService("Workspace").Players["Bright blue"]:GetChildren()
  708.             for i=1,#BBPlrs do
  709.                 if BBPlrs[i].Name==tostring(xArgTwo) then
  710.                     BBPlrs[i].ESPNameDisplay.MainFrame.HealthDisplay.Percent.Size=UDim2.new(xNewHP,0,1,0)
  711.                 end
  712.             end
  713.             local BOPlrs=game:GetService("Workspace").Players["Bright orange"]:GetChildren()
  714.             for i=1,#BOPlrs do
  715.                 if BOPlrs[i].Name==tostring(xArgTwo) then
  716.                     BOPlrs[i].ESPNameDisplay.MainFrame.HealthDisplay.Percent.Size=UDim2.new(xNewHP,0,1,0)
  717.                 end
  718.             end
  719.         end
  720.     end
  721.     local DeadPlrs=game:GetService("Workspace").Ignore.DeadBody:GetChildren()
  722.     for i=1,#DeadPlrs do
  723.         DeadPlrs[i]:Destroy()
  724.     end
  725. end)
  726. RunService.RenderStepped:Connect(function()
  727.     local xFPS=math.round(game:GetService("Stats").FrameRateManager.AverageFPS:GetValue())
  728.     local xPING=math.round(game:GetService("Stats").Network.ServerStatsItem.Ping:GetValue())
  729.     game.Players.LocalPlayer.PlayerGui:FindFirstChild("FPS&PING").Banner.FPS.Text=tostring(xFPS)
  730.     game.Players.LocalPlayer.PlayerGui:FindFirstChild("FPS&PING").Banner.PING.Text=tostring(xPING.."ms")
  731. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement