Animation tracks have an event called Stopped() but I dont really know how I would use it, every time I try to use it, it says ("Userdata value") or something.

Anyone know?

Heres the code I have at the moment.

if Choke.Stopped() then
	for _, Parts in pairs(script.Parent:GetChildren()) do
		if Parts and Parts:IsA("Part") or Parts:IsA("UnionOperation") or Parts:IsA("WedgePart") then
		Parts.Transparency = 0
		end
	end
end

Anyone got any ideas? Thank you for your time :)

5 comments

0

Try "if Choke.Stopped == true then"

0

Oh okay, I didnt know it was a true or false thing.

0

Are all events true or false?

0

Also no that doesnt work....

0

How about connect a function to the event? "Choke.Stopped:Connect(function()"