Hi,
I'm trying to have nametags and I'm struggling a little bit. I'll show my code and what I need help with but at the moment I have it semi working as an On Join event however sometimes it doesn't show up or it just doesn't refresh at all. Then I tried to make it like refresh every 2 seconds however that didn't seem to go well.
Am I doing anything wrong? or what
I'm trying to have nametags and I'm struggling a little bit. I'll show my code and what I need help with but at the moment I have it semi working as an On Join event however sometimes it doesn't show up or it just doesn't refresh at all. Then I tried to make it like refresh every 2 seconds however that didn't seem to go well.
code_language.skript:
on join:
loop all players:
make loop-player see player's prefix as "&7"
make player see loop-player's prefix as "&7"
if player has permission "{@DefaultGroupPerm}":
wait 1 tick
make loop-player see player's prefix as "&7{@DefaultGroupTag}"
if player has permission "{@DonorGroup1Perm}":
wait 2 tick
make loop-player see player's prefix as "&a{@DonorGroup1Tag}"
if player has permission "{@DonorGroup2Perm}":
wait 3 tick
make loop-player see player's prefix as "&a{@DonorGroup2Tag}"
if player has permission "{@DonorGroup3Perm}":
wait 4 tick
make loop-player see player's prefix as "&b{@DonorGroup3Tag}"
if player has permission "{@DonorGroup4Perm}":
wait 5 tick
make loop-player see player's prefix as "&b{@DonorGroup4Tag}"
if player has permission "{@YouTuberGroupPerm}":
wait 6 tick
make loop-player see player's prefix as "{@YouTuberGroupTag}"
if player has permission "{@OwnerGroupPerm}":
wait 7 tick
make loop-player see player's prefix as "{@OwnerGroupTag}"
Am I doing anything wrong? or what