#Table bug with animations

1 messages · Page 1 of 1 (latest)

sonic sphinx
#

i tried to script system that binds animations to event but it gets me an error. How do i solve it or what occused that?

P. S. there are no any other errors in the output. And yes, I DO have all the animations and other systems work well.

#

btw none of strokes work that go below "if bindedanimations[self.Player][v.Name] == nil then"

torn torrent
#

kinda hard to see what line its bugging on without the line counts on the left of the screenshot but it looks like self.Player is nil so that could be the problem that ur adding an animation to an incorrectly set up player variable?

sonic sphinx
#

nah man, the player is set up correct

#

cus other systems work

#

perfectly

#

oh wait

torn torrent
#

try print self.Player or use the debugger and see what its value is

sonic sphinx
#

nah nvm

manic wolfBOT
#

studio** You are now Level 6! **studio

sonic sphinx
#

i found out

torn torrent
#

oh nice what was the problem

sonic sphinx
#

no way bro it worked

#

i just forgot to set a table BindedAnimations[self.Player]

#

for every player