I need help with using "TweenStatus" I need it to fire a function once the bar has completed I tried to get it to fire a function but it gave me this error:
11:33:39.180 - Unexpected error while invoking callback: Enum cannot be modified
and
11:33:39.178 - Enum cannot be modified
What do these mean and how could I fix them?
script.Parent.Grunt.Progress:TweenSize(UDim2.new (0,50,0,8), Enum.EasingDirection.In,Enum.EasingStyle.Linear,2,true, function(M)Enum.TweenStatus.Completed = function (G)
function M()
print "Working"
end
function G()
print "Troop Made" --Make troop
end
end
end)
end)
