Advertisement
VoltixDevelopment

EZ ESP V0.1: Nametag Add-on by CodeUnsecure (Roblox: Phantom Forces)

Nov 15th, 2022 (edited)
1,670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.09 KB | None | 0 0
  1. --[[ EZ ESP V0.1: Nametag Add-on for Phantom Forces. Created by: CodeUnsecure
  2. __       ___________      ___________ ____     _    ______   ___   __
  3. \ \     / ____/__  /     / ____/ ___// __ \   | |  / / __ \ <  /  / /
  4.  \ \   / __/    / /     / __/  \__ \/ /_/ /   | | / / / / / / /  / /
  5.  / /  / /___   / /__   / /___ ___/ / ____/    | |/ / /_/ / / /   \ \
  6. /_/  /_____/  /____/  /_____//____/_/         |___/\____(_)_/     \_\
  7.                                                                      
  8.     _   __                     __                 ___       __    __                
  9.    / | / /___ _____ ___  ___  / /_____ _____ _   /   | ____/ /___/ /     ____  ____
  10.   /  |/ / __ `/ __ `__ \/ _ \/ __/ __ `/ __ `/  / /| |/ __  / __  /_____/ __ \/ __ \
  11.  / /|  / /_/ / / / / / /  __/ /_/ /_/ / /_/ /  / ___ / /_/ / /_/ /_____/ /_/ / / / /
  12. /_/ |_/\__,_/_/ /_/ /_/\___/\__/\__,_/\__, /  /_/  |_\__,_/\__,_/      \____/_/ /_/
  13.                                      /____/                                        
  14.     ____             ______          __     __  __                                  
  15.    / __ )__  ___    / ____/___  ____/ /__  / / / /___  ________  _______  __________
  16.   / __  / / / (_)  / /   / __ \/ __  / _ \/ / / / __ \/ ___/ _ \/ ___/ / / / ___/ _ \
  17.  / /_/ / /_/ /    / /___/ /_/ / /_/ /  __/ /_/ / / / (__  )  __/ /__/ /_/ / /  /  __/
  18. /_____/\__, (_)   \____/\____/\__,_/\___/\____/_/ /_/____/\___/\___/\__,_/_/   \___/
  19.       /____/                                                                        
  20.  
  21. ]]
  22. local NDFolder=Instance.new("Folder")
  23. NDFolder.Name="NameDisplays"
  24. NDFolder.Parent=game:GetService("Workspace").Players
  25. local ESPNameDisplay = Instance.new("BillboardGui")
  26. local MainFrame = Instance.new("Frame")
  27. local Username = Instance.new("TextLabel")
  28. local CurrentWeapon = Instance.new("TextLabel")
  29. local CurrentHealth = Instance.new("TextLabel")
  30. local HorizontalBorder = Instance.new("Frame")
  31. local UICorner = Instance.new("UICorner")
  32. local VerticalBorder = Instance.new("Frame")
  33. local UICorner_2 = Instance.new("UICorner")
  34. ESPNameDisplay.Name = "ESPNameDisplay"
  35. ESPNameDisplay.Parent = NDFolder
  36. ESPNameDisplay.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  37. ESPNameDisplay.Active = true
  38. ESPNameDisplay.AlwaysOnTop = true
  39. ESPNameDisplay.ResetOnSpawn = false
  40. ESPNameDisplay.Size = UDim2.new(6, 0, 1, 0)
  41. ESPNameDisplay.StudsOffset = Vector3.new(0, 3.5, 0)
  42. ESPNameDisplay.Enabled = false
  43. MainFrame.Name = "MainFrame"
  44. MainFrame.Parent = ESPNameDisplay
  45. MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  46. MainFrame.BackgroundTransparency = 1.000
  47. MainFrame.Size = UDim2.new(1, 0, 1, 0)
  48. Username.Name = "Username"
  49. Username.Parent = MainFrame
  50. Username.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  51. Username.BackgroundTransparency = 1
  52. Username.Size = UDim2.new(1, 0,1, 0)
  53. Username.Font = Enum.Font.PermanentMarker
  54. Username.Text = "Getting Player Name..."
  55. Username.TextTransparency = 0.25
  56. Username.TextStrokeTransparency = 0.75
  57. Username.TextStrokeColor3 = Color3.new(255,255,255)
  58. Username.TextScaled = true
  59. Username.TextColor3 = Color3.fromRGB(0, 0, 0)
  60. Username.TextSize = 25.000
  61. Username.TextYAlignment = Enum.TextYAlignment.Top
  62. local PlrName
  63. local RE=game:GetService("ReplicatedStorage").RemoteEvent
  64. RE.OnClientEvent:Connect(function(xSpawn, xArgTwo)
  65.     local xNDClone=NDFolder:WaitForChild("ESPNameDisplay"):Clone()
  66.     if xSpawn=="newspawn"then
  67.         PlrName=tostring(xArgTwo)
  68.         game:GetService("Workspace").Players["Bright blue"].ChildAdded:Connect(function(xChild)
  69.             if xChild:FindFirstChild("ESPNameDisplay") then else
  70.                 xNDClone.Parent=xChild
  71.                 xNDClone.Enabled=true
  72.                 xChild.ESPNameDisplay.MainFrame.Username.Text=PlrName
  73.             end
  74.         end)
  75.         game:GetService("Workspace").Players["Bright orange"].ChildAdded:Connect(function(xChild)
  76.             if xChild:FindFirstChild("ESPNameDisplay") then else
  77.                 xNDClone.Parent=xChild
  78.                 xNDClone.Enabled=true
  79.                 xChild.ESPNameDisplay.MainFrame.Username.Text=PlrName
  80.             end
  81.         end)
  82.     end
  83. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement