So I have been using my health bar script for awhile now. But for some reason they stopped working out side of studio even though I didn't do any changes. Is there some other way I have to do it now? I have check the output and stuff
mob = script.Parent.Parent.Parent.Parent.Parent.Parent mob:WaitForChild("Humanoid") function c() print"changing" local x = mob.Humanoid.Health/mob.Humanoid.MaxHealth script.Parent:TweenSize(UDim2.new(x,0,1,0),"Out","Quad",.5,true) end c() mob.Humanoid.HealthChanged:connect(c)
this is parented to a billboard gui in the mobs head basically. In the game it does print "changing" but it doesn't actually change. If someone could point out whats going on it would be really helpful. Thanks.