Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

im trying to make a light ball script with animatoins?

Asked by 3 years ago

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)

1 answer

Log in to vote
0
Answered by
Jo1nts 134
3 years ago

I don't see any code about the lightball where is it?

Ad

Answer this question