|
| 05 Jan 2015 02:24 PM |
| so, i've been working on creating a group place that has a rank overhead gui. basically i've been trying to make it so that there are certian priorities, like this group will override this, etc. any ideas? |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2015 02:25 PM |
groupid = 1240866 -- your group id groupn = "TPKR" --group name please.
--[[ 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(4,0,2,0) guigroup.StudsOffset=Vector3.new(0,3,0) textgroup=Instance.new("TextLabel") textgroup.Size=UDim2.new(1,0,1,0) textgroup.BackgroundTransparency = 1 textgroup.TextColor3 = Color3.new(255/255, 255/255, 255/255) textgroup.TextStrokeTransparency = 0 textgroup.TextTransparency = .9 textgroup.FontSize = 'Size12' --size matters ok UnrefinedRank = newPlayer:GetRankInGroup(1240866) Person = newPlayer.Name
--[[ TOUCH HERE ]]--
if UnrefinedRank == 255 then -- 255 is the rank number UnrefinedRank = "Grand Prince" --change it to the name of rank you want. end if UnrefinedRank == 253 then UnrefinedRank = "Khagan" end
if UnrefinedRank == 13 then UnrefinedRank = "Knyaz"
end
if UnrefinedRank == 12 then UnrefinedRank = "Head Boyar"
end
if UnrefinedRank == 11 then UnrefinedRank = "Council of Boyars" end
if UnrefinedRank == 10 then UnrefinedRank = "Judge"
end
if UnrefinedRank == 9 then UnrefinedRank = "Priest"
end
if UnrefinedRank == 8 then UnrefinedRank = "Boyars"
end
if UnrefinedRank == 7 then UnrefinedRank = "Kupets"
end
if UnrefinedRank == 6 then UnrefinedRank = "Liudi"
end
if UnrefinedRank == 5 then UnrefinedRank = "Polkovnik"
end
if UnrefinedRank == 4 then UnrefinedRank = "Streltsy"
end
if UnrefinedRank == 3 then UnrefinedRank = "Serf"
end
if UnrefinedRank == 2 then UnrefinedRank = "Criminal"
end
if UnrefinedRank == 1 then UnrefinedRank = "Foreigner"
end
if UnrefinedRank == 0 then UnrefinedRank = "Outsider"
end textgroup.Text = ('['.. groupn .. '][' .. UnrefinedRank .. "]" .. Person ) --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) |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Oct 2015 09:22 PM |
So, Like, is this like http://www.roblox.com/Rank-OverHead-Display-Read-Desc-item?id=113228425 ? Looking for a way to in-game change the labels with something like Scripth Admin's :s or :ls?
Shoo along little noobling. Nothing to find down here but the souls of the hacked. |
|
|
| Report Abuse |
|
|
Dogejia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1873 |
|
|
| 12 Oct 2015 10:14 PM |
Isnt there like a :GetRank() command?
gcmi lg lpxtlc; Decode it with Vigenere Cipher, keyword is Doge, if you dare >:) |
|
|
| Report Abuse |
|
|
Dogejia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1873 |
|
|
| 12 Oct 2015 10:15 PM |
nvm you have it, forgot to post TL;DR
gcmi lg lpxtlc; Decode it with Vigenere Cipher, keyword is Doge, if you dare >:) |
|
|
| Report Abuse |
|
|
| |
|