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?
1 | if Player:GetRankInGroup( 2684229 ) = = 255 then |
2 | script.Parent.Text = "F-DIRECTOR" |
And could someone give me a script that would display card holders username?
~Thank you! :)
is it a localscript? where is "Player" defined? any errors? did you put "end" at the end of the script? try this
1 | Player = game.Players.LocalPlayer |
2 | if Player:GetRankInGroup( 2684229 ) = = 255 then |
3 | script.Parent.Text = "F-DIRECTOR" |
4 | end |
make sure its in a localscript