Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to make a part look at me where i'm going whenever i enter a zone in the game?

basically whenever someone enters in his zone he starts doing so

1 answer

Use a boolean variable when the player enters the zone. I'll name it "zoneEntered"

part = -- your part here
zoneEntered = false  -- set to true when player enters the zone

while wait() do
  if zoneEntered then
    part.CFrame = CFrame.lookAt(part.Position, player.Head.Position) -- change player to the player's character
  end
end

I typed everything on mobile so let me know if there's errors

This discussion is preserved as it was. New answers, comments, and votes are closed.