Is this workspace attribute setting script is right?

I was working with FE gun kit today but noticed a strange thing, when you equip the tool, it doesnt plays the equip animation, i realized that problem was because RbxLegacyAnimationBlending was enabled and it makes FE gun kit instantly play idle animation instead of equip and then idle, i have made a simple script inside of the tool that enables RbxLegacyAnimationBlending after 1.2 seconds but it doesnt works, did i wrote it correct??

local Tool = script.Parent




Tool.Equipped:connect(function(TempMouse)
	game.Players.LocalPlayer.PlayerScripts.StarterPlayerScript.Disabled = false
	wait(1.2)
	game.Workspace.RbxLegacyAnimationBlending.Enabled = true
end)

Tool.Unequipped:connect(function()
	game.Players.LocalPlayer.PlayerScripts.StarterPlayerScript.Disabled = true
	game.Workspace.RbxLegacyAnimationBlending.Enabled = false
end)
1 Like