• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua If npc see the player, then player get teleported TFS 1.3

Icaraii

Well-Known Member
Joined
Jan 5, 2020
Messages
469
Solutions
1
Reaction score
58
Hello guys,

I'm doing a quest where the player has to go somewhere e npcs can't see him, so I would like a script that works like this:

If player is between 1 and 3 sqm in front of the npc, then player will be teleported to a place (x,y,z), will get a skull (configurable of my choice) and a storage with it for x hours.
I also would like for the npc to random walk and turn directions.


If Icarai is a npc and the player stand in one of the sqm with coins he will be teleported to x,y,z
1639493112775.png
 
Back
Top