Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why My ID Card, Group Rank Display Script is not working?

So i have a tool, whenever player takes it in he's hand, it is supposed to show up the player's who holds the card rank in my group, but it doesn't show it up. It is a LocalScript. What is the problem with it? Could someone please rewrite the script so it works fine?

if Player:GetRankInGroup(2684229) == 255 then
        script.Parent.Text = "F-DIRECTOR"

And could someone give me a script that would display card holders username?

~Thank you! :)

1 answer

is it a localscript? where is "Player" defined? any errors? did you put "end" at the end of the script? try this

Player = game.Players.LocalPlayer
if Player:GetRankInGroup(2684229) == 255 then
        script.Parent.Text = "F-DIRECTOR"
end

make sure its in a localscript

This discussion is preserved as it was. New answers, comments, and votes are closed.