So basically i'm making a game for fun and I hit a problem, See I'm trying to code a launcher when the button is clicked and it would play a animation
game.ReplicatedStorage.SpamAEvent.OnServerEvent:Connect(function(player,animationID) local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Assest?ID=".. animationID local loadedAnimation = game.Workspace[player.name].Humaniod:LoadAnimation(animation) loadedAnimation;Play() end)
It says "loadedAnimation;Play()" is wrong../