Possible to select a array of numbers easily, like 1 to 5?
Asked by
6 years ago Edited 6 years ago
Im trying to make a group rank system but I want my code to look nice. Problem is when I try to set it so if your a certain rank you'll get a certain morph I have to do 1 and 2 and 3 and 4 which is just redundant. And it would require me to write numbers like 30 times between gaps of permissions. Any other way?
1 | player = game.Players.LocalPlayer |
2 | Group = player:GetRankInGroup( 889994 ) |
3 | if player:GetRankInGroup( 889994 ) = = 1 - 3 then |
There ^ I was trying to select 1 to 3
My other way
1 | player = game.Players.LocalPlayer |
2 | Group = player:GetRankInGroup( 889994 ) |
3 | if player:GetRankInGroup( 889994 ) = = 1 and 2 and 3 and 4 and 5 then |