So I’ve been recently working on a horror game but there is one thing that ive been trying to implement. As you know slenderman is able to teleport around the map and to the players giving them minor static jumpscare. I’ve been trying to do something similar by making a npc that will teleport around the players and adding static on their screen. Here is an example of a person who has already done it: https://gyazo.com/4c920648f4dc2190c93c7afb6d065bc6
I dont know how exactly it this system works so I am trying to figure out how I could make this possiable but ive been stuck for some time. It would be really helpfull if someone could explain how I could add this feature into my game.
What part are you stuck on? The static or the jumpscare?
The idea I think is when you want to do the jumpscare (randomly or whatever trigger) you put the static texture on the screen and create the jumpscare NPC (and add maybe some FOV changes like in the video)
Well about the teleport part, do you want the monster to appear INFRONT of the player or just near them, or maybe redirect the players camera to it when it changes its position.
Okay,
So what are you looking for specifically on the monsters finding of the player, is there only one player or do you need the monster to choose the closest or the random player?
Of course there might be a tutorial on how to make a Slenderman, but if you are stuck on something or just want advice , I believe the best way to start is to explain what exactly do you want it to do, just the screen changing or that it teleports or both or another method of teleport?
local playerService = game:GetService("Players")
local Players = playerService:GetPlayers()
local RandomPlayer = Players[math.random(#Players)]
Local randomplayerchar = RandomPlayer.Character
--then we would get the characters position or you could make it so the slenderman's position is a bit further from character's position, then we would just set the slenderman object to that position
Sorry, I might come back for more support , but this is what I can say for now