I did this before and now I have forgotten how I did it. As soon as you click the Wheel, it begins spinning (by CFrame) and then you start clapping. I took a tool and I copied it's script, animation and stringvalue into the wheel part. I tried trial and error to do this by moving the code around, but it did not work. What I am trying to do here is you clap ten times when the wheel is spinning.

local anime = script.Parent.name.Value
current = anim_feet

script.Parent.Selected:connect(function(m)
m.Button1Down:connect(function()
		
		for i = 1,10 do
        local hum = game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
		local anim_feet = hum:LoadAnimation(script.Parent.clap)
		
		current:Play(.1,1.2,2)
		wait (.2)
		end
	end)


1 comment

0

Edit Reason: Fixed code block