

Local relativePosition = playerPosition - NpcPosition Now for an additional sanity check I have created this helper function, and it was checked everytime a touchEnded event was triggered, where: - This tells if the player still is inside the interactive volume

Fire remote events that player is in sightĪctionRemoteEvent:FireClient(player, "Exit") If not NpcGreetingsTrack.IsPlaying and not NpcWavingTrack.IsPlaying then Assigned the player to the debounce table Local humanoid = hit.Parent:FindFirstChildWhichIsA("Humanoid") Local player = game.Players:GetPlayerFromCharacter(hit.Parent)

In my regular touch end check events there is: - This manages on touch end events Where a player jumps it triggers the TouchEnded events. Actually it is a very common "jump" issue happens in the touch zone.
