#Help with fps game

1 messages · Page 1 of 1 (latest)

timid bear
#

So basically i was following an fps tutorial when all of a sudden whenever i try to run the client script, I get this error in the output and my viewmodel won't load, any fixes? Sorry if this is a dumb question.

robust fossil
#

What fixes

#

It outputs an error since fakecamera is nil

timid bear
#

But my viewmodel still doesn't show up

robust fossil
#

Try sending the explorer

visual garnet
#

that's what trying to index nil means. it means you tried to do local var=nil print(var["foo"]). var is nil and you tried to index it as if it were a table, but its not a table, it's nil. same thing in your code.

#

that's the problem, up to you to fix it.

#

maybe you spelled something wrong who knows

timid bear
#

i genuinely might be tweaking

timid bear
visual garnet
wanton ospreyBOT
#

studio** You are now Level 1! **studio

timid bear
#

The previous script was the current script with a bunch of animation variables added

#

The previous script worked

#

But the current script doesn't work

#

ill just send it here

visual garnet
#

hmm yes that is quite the perponderance. why on earth would 2 scripts which are different, be different?? thonkoof this is indeed quite the mystery

timid bear
visual garnet
# timid bear mhm

who'dve ever thought different scripts are different. but they can't be different, it's the same script but different! someone should send this to a scientist for study and hopefully figure out why different scripts are different thonkoof

timid bear
visual garnet
visual garnet
#

after all this whole scripting thing is just black magic and wizardry and no one understands it, the letters in the script are just randomly selected and make no coherent sense. have you considered consult a medium to consult with the computer spirits to enchant your script into working properly

#

maybe ask a crystal ball or something

#

y'know, anything other than looking into the error the output window gave you

#

the output window is known to be wrong whenever you disagree with it

visual garnet
#

so just keep disagreeing with it and looking at the old script with dumbfounded awe and maybe a miracle will happen if you wait until the heat death of the universe and the script fixes itself

#

it's probably faster than looking into the error, not like the error actually told you anything useful. you disagree with the error and that's fine, it must be something else Thumbs

visual garnet
timid bear
timid bear
robust fossil
#

Ye

#

Pay 5 to find out

#

Thats a interesting model

robust fossil
#

how are you gonna edit the camera for everyone if its a client-sided script?

timid bear