|
| 12 Mar 2015 02:27 AM |
| A script that makes an NPC or all ignores other npcs and only target player..? |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Mar 2015 03:28 AM |
| hmm... i have no idea what to do with that. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Mar 2015 07:22 PM |
| findFirstChild("Humanoid") will help but idk where. I dont use AIs much. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Mar 2015 07:24 PM |
no no no
local function isPlayer(model) return game.Players:GetPlayerFromCharacter(model) and model or nil end |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Mar 2015 07:31 PM |
^^^^
or instead of game.Players:GetPlayerFromCharacter just make a variable like this.
local plr = game.Players:GetPlayers() local idk = plr.Name local char = workspace:findFirstChild(idk)
this might not be faster but its another way to get the player. |
|
|
| Report Abuse |
|
|
|
| 12 Mar 2015 07:34 PM |
| or no cuz u can name other models that players name. |
|
|
| Report Abuse |
|
|