I don't know how to change the Player's Health in Roblox.
I tried this:
local Object = game.Workspace.Baseplate
Object.Touched:Connect(function()
game.StarterPlayer.HealthDisplayDistance = 50
end)
local Killbrick = game.Workspace.Part
I thought the 3rd Line changed the health of the Player but it didn't do anything.
Your issue is that the Health property isn't on a Player, but rather their Character model's Humanoid.