--You can put this anywhere, Workspace, ServerScriptService, Lighting, whatever. It'll work anywhere where server scripts can run.


local Players = game:GetService("Players")
 
local GUI = script["HealthScript v3.1"]:Clone()
GUI.Parent = game.StarterGui

function onCharacterAdded(character)
	script.Health:Clone().Parent = character
end

Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(onCharacterAdded)
end)
