I'm trying to make a IsInGroup script for practice. Any ideas as to why it wont or any solutions?
Asked by
5 years ago Edited 5 years ago
Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.
So, I'm trying to experiment with IsInGroup, GetRankInGroup, and GetRoleInGroup. But for some reason I can't seem to get any of them to work. I looked at tutorials and tried doing it myself, but still nothing. As shown below on line 4, the IsInGroup shows when a colon is added. So any explanation as to why this won't work?
1 | local Player = game.Players.LocalPlayer |
4 | if Player:IsInGroup( 3713839 ) then |
9 | script.Parent.Touched:Connect(Touched) |