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

Why is "GetMarkerReachedSignal" not firing?

Asked by 2 years ago
Edited 2 years ago

it seems that the print statement I placed won't run, even though I went to moon animator and inserted a marker with the name "STARTMOVE". any solutions?


local loadm1 = hum:LoadAnimation(m1) game:GetService("UserInputService").InputBegan:Connect(function(input, gp) if input.KeyCode == Enum.KeyCode.E and gp == false then hum.WalkSpeed = 0 loadm1:Play(0) hrp.m1:Play() local con con = loadm1:GetMarkerReachedSignal("STARTMOVE"):Connect(function() print("thingy") end) loadm1.Stopped:Wait() hum.WalkSpeed = 12 end end)

Answer this question