-- Made the animation and all, and inserted it and it won't work when I do it? Please help! I'm using a local script, and that's it.
local Player = game.Players.LocalPlayer local Character = Player.Character or script.Parent local Humanoid = Character.Humanoid local UserInputService = game:GetService("UserInputService") local AnimationId = 'rbxassetid://3125351974' local Key = 'f' UserInputService.InputBegan:Connect (function(Input, IsTyping) if IsTyping then return end if Input.KeyCode == Enum.KeyCode(Key) then local Animation = Instance.new("Animation") Animation.AnimationId = AnimationId local LoadAnimation = Humanoid:LoadAnimation(Animation) LoadAnimation:Play() wait(1) Animation:Destroy() end end)