I've tried to use PromptBlockPlayer but this happened...
Expected output:
09:09:48: CoreGui.RobloxGui.CoreScripts/BlockPlayerPrompt:103: Invalid argument to PromptBlockPlayer.
Script Used:
StarterGui:SetCore("PromptBlockPlayer", targetPlayer.Name)
Any fixes?
The second argument of PromptBlockPlayer
is the player, not their name.
StarterGui:SetCore("PromptBlockPlayer", targetPlayer)
(note that PromptBlockPlayer only shows a prompt, it doesn't force player1 to block player2, they still have to confirm it)