local Add = script.Parent.Add
local Block = script.Parent.Block
local ViewAvatar = script.Parent.Search
Block.Activated:Connect(function()
local PlayerObject = script.Parent.Parent:GetAttribute("Player")
game:GetService("StarterGui"):SetCore("PromptBlockPlayer", {
Player = game.Players:GetPlayerByUserId(PlayerObject)
})
end)
CoreGui.RobloxGui.CoreScripts/BlockPlayerPrompt:100: Invalid argument to PromptBlockPlayer