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?