as of right know ive made the animation and the key bind part but every time i press e which is the script the animation plays but the light ball stays still and i cant seem to find a script or a soultoin to help me so can someone please help me and heres the script
local UIS = game:GetService("UserInputService") local char = script.Parent local hum = char:WaitForChild("Humanoid") local anim = hum:LoadAnimation(script:WaitForChild("Animation"))
UIS.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.E then anim:Play() end end)