Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you use the Stopped() Event of an animation track?[SOLVED]

Asked by 6 years ago
Edited 6 years ago

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 :)

0
Try "if Choke.Stopped == true then" Mayk728 855 — 6y
0
Oh okay, I didnt know it was a true or false thing. GottaHaveAFunTime 218 — 6y
0
Are all events true or false? GottaHaveAFunTime 218 — 6y
0
Also no that doesnt work.... GottaHaveAFunTime 218 — 6y
0
How about connect a function to the event? "Choke.Stopped:Connect(function()" Mayk728 855 — 6y

Answer this question