#I need help with proximity prompt
33 messages · Page 1 of 1 (latest)
Are you using a local script or a server script to create the prompt?
a server script is a regular script
yes its a local
that’s the issue
do you understand filtering enabled?
anything done in the server is replicated to each client, but if something happens in the client, it doesn’t replicate back to the server
there’s a few videos on it
yeah i know about it
ok
well, when you create the prompt, it shows up on the client, or the dead player, but it doesn’t go back to the server
you need a server script, then everyone will see it
so just change the local script into a normal?
yea, that should work
im going to try it
thank you so much
one last problem
at the start is
local player = game.Players.LocalPlayer
i need some other way to get local player
character
is it in the character
ok
you can get the player from the character
i’ll write the line
just a sec i’m opening my computer
local player = game:GetService("Players"):GetPlayerFromCharacter(script.Parent)
thats assuming the script is directly under the character, and not under the humanoid or anything
im gonna try it
good luck!