Made a sword with an animation. It is supposed to make an animation when you are activating the tool. In studio mode it works, but in playmode it doesn't
Sword = script.Parent Sword.Activated:connect(function() for i = 1, 10 do RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -0.15) game:GetService("RunService").Stepped:wait() end for i = 1, 10 do RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0.15) game:GetService("RunService").Stepped:wait() end end)