TweenPosition Breaking

So I Have This Script

script.Parent:TweenPosition(Udim2.new(–Position–),“Out”, “Quad”, 0.5)

Is there A Way To Make This script stop working once player dies

Usually when a player dies the GUI is reset.

If you have disabled this, then you can either destroy the object being tweened, or override the tween with one that has a duration of 0.

To make it overridable you’ll need to add , true after the 0.5 in your original TweenPosition call.

Watch out for the spelling of UDim2 (not Udmin2) by the way!

1 Like