Hello fellow players,
I'm working on some scripts and I would like to ask for your help again!
I wanted to ask if you know any effective code that can identify if your current target is an actual player, and not an NPC.
And, if you know too, a code that can identify if a "frame" belongs to a player too, such as the ones you obtain with this code:
Thank you very much in advance.
I'm working on some scripts and I would like to ask for your help again!
I wanted to ask if you know any effective code that can identify if your current target is an actual player, and not an NPC.
And, if you know too, a code that can identify if a "frame" belongs to a player too, such as the ones you obtain with this code:
Code:
local frames = {WorldFrame:GetChildren()}
Thank you very much in advance.