This is how I used the function:
script.Parent.ProximityPrompt.Triggered:Connect(function(plr)
(script)
end)
Did I do something wrong?
This is how I used the function:
script.Parent.ProximityPrompt.Triggered:Connect(function(plr)
(script)
end)
Did I do something wrong?
That script is correct, not sure why it’s not working for your friend. Unless there’s something in the code
Try printing out what the plr
variable is as well when you Trigger the Prompt Tbh I feel like ProximityPrompts are still a Beta feature
This was my own fault, I had a dummy with his name in my game. That caused some scripts to work on the dummy and not him.