#Animation running

9 messages · Page 1 of 1 (latest)

woven lagoon
#

So I'm trying to figure out the problem with this code:
local animation = (14041061188)

local UIS = game:GetService("UserInputService")

UIS.inputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.E then
animation:Play() <- Here is the problem it's not doing this
end
end
end)

Can anyone help me?

sour ridge
#

Have you tried putting them in quotes

woven lagoon
#

what in quotes?

sour ridge
#

The animation id

woven lagoon
#

no I will try

#

nope didn't work

woven lagoon
#

@sour ridge that didn't work

sour ridge
woven lagoon
#

ok