Advertisement
SlappyDappyCrappy

RPG Nametag thingy ROBLOX

Nov 4th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.09 KB | None | 0 0
  1. target = game.Players.LocalPlayer
  2.  
  3. ng = Instance.new('BillboardGui', target.Character)
  4. ng.Size = UDim2.new(3,0,2,0)
  5. ng.StudsOffset = Vector3.new(0,2,0)
  6. ng.Adornee = target.Character.Head
  7.  
  8. frameo = Instance.new('Frame',ng)
  9. frameo.Size = UDim2.new(1,0,1,0)
  10. frameo.BackgroundTransparency = 1
  11.  
  12. name = Instance.new('TextLabel',frameo)
  13. name.Size = UDim2.new(1,0,.2,0)
  14. name.Position = UDim2.new(0,0,.8,0)
  15. name.Font = 'ArialBold'
  16. name.TextScaled = true
  17. name.BackgroundTransparency = 1
  18. name.Text = target.name
  19. name.TextColor3 = Color3.new(1,1,1)
  20.  
  21. health = Instance.new('TextLabel',frameo)
  22. health.Size = UDim2.new(1,0,.3,0)
  23. health.Position = UDim2.new(0,0,.5,0)
  24. health.Font = 'ArialBold'
  25. health.TextScaled = true
  26. health.BackgroundTransparency = 1
  27. health.TextColor3 = Color3.new(0,1,0)
  28.  
  29. speed = Instance.new('TextLabel',frameo)
  30. speed.Size = UDim2.new(1,0,.1,0)
  31. speed.Position = UDim2.new(0,0,.2,0)
  32. speed.Font = 'ArialBold'
  33. speed.TextScaled = true
  34. speed.BackgroundTransparency = 1
  35. speed.TextColor3 = Color3.new(.5,.5,1)
  36.  
  37. jump = Instance.new('TextLabel',frameo)
  38. jump.Size = UDim2.new(1,0,.1,0)
  39. jump.Position = UDim2.new(0,0,.3,0)
  40. jump.Font = 'ArialBold'
  41. jump.TextScaled = true
  42. jump.BackgroundTransparency = 1
  43. jump.TextColor3 = Color3.new(.2,.2,1)
  44.  
  45. shield = Instance.new('TextLabel',frameo)
  46. shield.Size = UDim2.new(1,0,.1,0)
  47. shield.Position = UDim2.new(0,0,.4,0)
  48. shield.Font = 'ArialBold'
  49. shield.TextScaled = true
  50. shield.BackgroundTransparency = 1
  51. shield.TextColor3 = Color3.new(1,.5,.5)
  52.  
  53. rig = Instance.new('TextLabel',frameo)
  54. rig.Size = UDim2.new(1,0,.2,0)
  55. rig.Position = UDim2.new(0,0,0,0)
  56. rig.Font = 'ArialBold'
  57. rig.TextScaled = true
  58. rig.BackgroundTransparency = 1
  59. rig.TextColor3 = Color3.new(1,1,.5)
  60.  
  61. while wait(.01) do
  62. health.Text = 'HP | '..target.Character.Humanoid.Health
  63. speed.Text = 'SPE | '..target.Character.Humanoid.WalkSpeed
  64. jump.Text = 'JP | '..target.Character.Humanoid.JumpPower
  65. if true and target.Character:FindFirstChild('ForceField') then
  66. shield.Text = 'PROT | True'
  67. else
  68. shield.Text = 'PROT | False'
  69. end
  70. rig.Text = 'MHP | '..target.Character.Humanoid.MaxHealth
  71. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement