Making an animation for a button, and I come across this error. Here's the code:
local player = game.Players.LocalPlayer.Character local animation = game.ReplicatedStorage.Kamehame local track = player.Humanoid:LoadAnimation(animation) function onClick(mouse) track:Play{} end script.Parent.MouseButton1Down:connect(onClick)
This is a LocalScript. Any answers?