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

How do I make a script that will function if a player LOOKS at something?

Let's say I'm making a Slenderman game, I don't want to make Slenderman touching them and then they're dead, I want the player to be actually looking at Slenderman to die. How would I do this like in that Doctor Who game with the Weeping Angels?

1 answer

Well in Don't Blink it was much harder to detect if the player was actually "seeing" the angel, because of shadows and stuff, but normally creating a ray out of the player's head should be sufficient.

1 comment

0

I need an in-depth answer please. Maybe an example.

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