I am trying to make a script where in a serverscript, it triggers a Proximityprompt by an NPC.
I read that you cant trigger a ProximityPrompt from a Serverscript, if you can that would be alot better.
I now just have a Serverscript that Fires an Event and when the localscript receives it, i want it to trigger the Proximityprompt.
I tried triggering the Prox with a serverscript, and a localscript, both didnt work.
If anyone knows how to fix it, it would help me alot.
local proximityPrompt = Instance.new("ProximityPrompt")
--gives player argument (player who triggered it)
proximityPrompt.Triggered:Connect(function(player : Player)
end)