script.Parent.Changed:Connect(function()
	local hp = script.Parent.Value * (script.Parent.Parent.Hpt.Value * 0.07)
	local plr = script.Parent.Parent.Parent
	local s,e = pcall(function()
		local hum = plr.character:FindFirstChild("Humanoid")
		script.Parent.Parent.temphp.Value = hum.Health
		hum.MaxHealth = hum.MaxHealth + hp
		hum.MaxHealth = hum.MaxHealth - script.Parent.Parent.temphp.Value
	end)
end)

This script just doesn't run, I even removed the pcall and still no errors. It's cloned from RS into your player when you join, and is in a value inside a folder called "Stats". I'm not sure why it isn't running, if you know, please answer.

2 comments

0

so you want it to play once it's cloned into a player?

0

The value is in the folder or the folder is in the value? Your explanation is confusing me.