Advertisement
xoxfl

Untitled

Nov 21st, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. groupid = 5254070 -- your group id
  2.  
  3. local plr = game.Players.LocalPlayer
  4.  
  5.  
  6.  
  7. --[[ DO NOT TOUCH BELOW ]]--
  8. game.Players.PlayerAdded:connect(onPlayerRespawned)
  9. function onPlayerRespawned(newPlayer)
  10. wait(1)
  11. if newPlayer:IsInGroup(groupid) then
  12. guigroup=Instance.new("BillboardGui")
  13. guigroup.Parent=newPlayer.Character.Head
  14. guigroup.Adornee=newPlayer.Character.Head
  15. guigroup.Size=UDim2.new(1,0,1,0)
  16. guigroup.StudsOffset=Vector3.new(0,3,0)
  17. textgroup=Instance.new("TextLabel")
  18. textgroup.Size=UDim2.new(1,0,1,80)
  19. textgroup.BackgroundTransparency = 1
  20. textgroup.TextColor3 = player.TeamColor
  21. textgroup.TextStrokeTransparency = 1
  22. textgroup.TextTransparency = 0
  23. textgroup.FontSize = 'Size18' --size matters ok
  24. UnrefinedRank = newPlayer:GetRankInGroup(groupid)
  25. Person = newPlayer.Name
  26.  
  27.  
  28. --[[ TOUCH HERE ]]--
  29.  
  30.  
  31.  
  32.  
  33. if UnrefinedRank == 255 then
  34. UnrefinedRank = "Field Marshal"
  35. end
  36.  
  37.  
  38.  
  39.  
  40. if UnrefinedRank == 254 then -- Made By Nickthebest100
  41. UnrefinedRank = "Head Vice Field Marshal"
  42.  
  43. end
  44. if UnrefinedRank == 253 then -- Made By Nickthebest100
  45. UnrefinedRank = "Vice Field Marshal"
  46.  
  47. end
  48.  
  49. if UnrefinedRank == 13 then -- Made By Nickthebest100
  50. UnrefinedRank = "General"
  51.  
  52. end
  53.  
  54. if UnrefinedRank == 12 then -- Made By Nickthebest100
  55. UnrefinedRank = "Lieutenant General"
  56.  
  57. end
  58.  
  59. if UnrefinedRank == 11 then
  60. UnrefinedRank = "Brigadier"
  61.  
  62. end
  63.  
  64. if UnrefinedRank == 10 then
  65. UnrefinedRank = "Colonel"
  66.  
  67. end
  68.  
  69. if UnrefinedRank == 9 then
  70. UnrefinedRank = "Major"
  71.  
  72. end
  73.  
  74. if UnrefinedRank == 8 then
  75. UnrefinedRank = "Captain"
  76.  
  77. end
  78.  
  79. if UnrefinedRank == 7 then
  80. UnrefinedRank = "Lieutenant"
  81.  
  82. end
  83.  
  84. if UnrefinedRank == 6 then
  85. UnrefinedRank = "Warrant Officer"
  86.  
  87. end
  88.  
  89. if UnrefinedRank == 5 then
  90. UnrefinedRank = "Sergeant Major"
  91.  
  92. end
  93.  
  94. if UnrefinedRank == 4 then
  95. UnrefinedRank = "Staff Sergeant"
  96.  
  97. end
  98.  
  99. if UnrefinedRank == 3 then
  100. UnrefinedRank = "Sergeant"
  101.  
  102. end
  103.  
  104.  
  105. if UnrefinedRank == 2 then
  106. UnrefinedRank = "Corporal"
  107.  
  108. end
  109.  
  110. if UnrefinedRank == 1 then
  111. UnrefinedRank = "Lance Corporal"
  112.  
  113. end
  114.  
  115.  
  116.  
  117.  
  118.  
  119. textgroup.Text = (' '.. Person .. ', ' .. UnrefinedRank .. " " ) --text text do not touch
  120. textgroup.Parent=guigroup
  121.  
  122.  
  123. end
  124. end
  125.  
  126.  
  127.  
  128. function onPlayerEntered(newPlayer)
  129. newPlayer.Changed:connect(function (property) -- to see
  130. if (property == "Character") then
  131. onPlayerRespawned(newPlayer)
  132. end
  133. end)
  134. end
  135.  
  136. game.Players.PlayerAdded:connect(onPlayerEntered)
  137.  
  138. -- Made By Nickthebest100
  139. --Join URU, Untamed Rebels United
  140. --This took me 2 hours and 150 coffees and i ran out of suger so i raged and then finnaly got more so i had more coffee
  141. --and kept doing this and it was hard and fun, and i'm rubbish at scripting.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement