Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- groupid = 5254070 -- your group id
- local plr = game.Players.LocalPlayer
- --[[ DO NOT TOUCH BELOW ]]--
- game.Players.PlayerAdded:connect(onPlayerRespawned)
- function onPlayerRespawned(newPlayer)
- wait(1)
- if newPlayer:IsInGroup(groupid) then
- guigroup=Instance.new("BillboardGui")
- guigroup.Parent=newPlayer.Character.Head
- guigroup.Adornee=newPlayer.Character.Head
- guigroup.Size=UDim2.new(1,0,1,0)
- guigroup.StudsOffset=Vector3.new(0,3,0)
- textgroup=Instance.new("TextLabel")
- textgroup.Size=UDim2.new(1,0,1,80)
- textgroup.BackgroundTransparency = 1
- textgroup.TextColor3 = player.TeamColor
- textgroup.TextStrokeTransparency = 1
- textgroup.TextTransparency = 0
- textgroup.FontSize = 'Size18' --size matters ok
- UnrefinedRank = newPlayer:GetRankInGroup(groupid)
- Person = newPlayer.Name
- --[[ TOUCH HERE ]]--
- if UnrefinedRank == 255 then
- UnrefinedRank = "Field Marshal"
- end
- if UnrefinedRank == 254 then -- Made By Nickthebest100
- UnrefinedRank = "Head Vice Field Marshal"
- end
- if UnrefinedRank == 253 then -- Made By Nickthebest100
- UnrefinedRank = "Vice Field Marshal"
- end
- if UnrefinedRank == 13 then -- Made By Nickthebest100
- UnrefinedRank = "General"
- end
- if UnrefinedRank == 12 then -- Made By Nickthebest100
- UnrefinedRank = "Lieutenant General"
- end
- if UnrefinedRank == 11 then
- UnrefinedRank = "Brigadier"
- end
- if UnrefinedRank == 10 then
- UnrefinedRank = "Colonel"
- end
- if UnrefinedRank == 9 then
- UnrefinedRank = "Major"
- end
- if UnrefinedRank == 8 then
- UnrefinedRank = "Captain"
- end
- if UnrefinedRank == 7 then
- UnrefinedRank = "Lieutenant"
- end
- if UnrefinedRank == 6 then
- UnrefinedRank = "Warrant Officer"
- end
- if UnrefinedRank == 5 then
- UnrefinedRank = "Sergeant Major"
- end
- if UnrefinedRank == 4 then
- UnrefinedRank = "Staff Sergeant"
- end
- if UnrefinedRank == 3 then
- UnrefinedRank = "Sergeant"
- end
- if UnrefinedRank == 2 then
- UnrefinedRank = "Corporal"
- end
- if UnrefinedRank == 1 then
- UnrefinedRank = "Lance Corporal"
- end
- textgroup.Text = (' '.. Person .. ', ' .. UnrefinedRank .. " " ) --text text do not touch
- textgroup.Parent=guigroup
- end
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Changed:connect(function (property) -- to see
- if (property == "Character") then
- onPlayerRespawned(newPlayer)
- end
- end)
- end
- game.Players.PlayerAdded:connect(onPlayerEntered)
- -- Made By Nickthebest100
- --Join URU, Untamed Rebels United
- --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
- --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