How to get the player in the player list from their character

I’m trying to make it so when a part is touched it fires an event on the players client and sends values, with one of those values being the player in the player list since the event needs that to find values tied to that player

script.Parent.Touched:Connect(function(player)

	game.ReplicatedStorage.HealthChange:FireClient(player)
end)

This is what I currently have and obviously it doesn’t work since it’s sending the character in the workspace, what would I change it to to send the player in the player list instead?

https://create.roblox.com/docs/reference/engine/classes/Players#GetPlayerFromCharacter

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.