[SOLVED] Checking Target' Target
-
- Posts: 25
- Joined: Thu May 26, 2016 6:26 am
[SOLVED] Checking Target' Target
How can I check existence of targets target ?
Last edited by kutalmismete on Tue Nov 01, 2016 4:01 am, edited 1 time in total.
Re: Checking Target' Target
Easy way I can think of is:
targetstarget.Name would be "<UNKNOWN>" and targetstarget.Id would be 0 I think if your target has no target.
Code: Select all
player:update()
local targetstarget = player:getTarget():getTarget()
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest