I want to make it so my FireClient() works properly but for some reason, it says, “FireClient: player argument must be a Player object” even though I think I tried player object.
Here is some footage
Script
script.Parent.Touched:Connect(function(player)
game.ReplicatedStorage.RemoteEvent:FireClient(game.Players.LocalPlayer)
end)
-- My script
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I replaced arguments with “player”, “player.Parent”, (hit.Parent) and “game.Players.LocalPlayer”
but nothing works, I looked on the Developer Forum as well but to no avail.
output:
FireClient: player argument must be a Player object
Any solutions? Please reply below, thank you, feedback would be good