How I already fixed the errors in my module scripts
#How do i get the values in my module script working in my local script
1 messages · Page 1 of 1 (latest)

"How I already fixed the errors in my module scripts" btw 😭
ok i defined them
but i don't know how to make the players animation stop when they are idle
idk how to use it in that way
im trying to learn module scripts
i fixed the red lines in the module scripts
uhh
just require(modulename)
thats how you access the functions inside the module
it would be like require(Module).SetState
why the fuck do you have a module with over 100 lines if you try to learn them 😭
wait I LITERALLY SAID THIS LIKE A WEEK AGO
they are defined now
and they still don't work
defined as what
what they are in the module script
did you just copy n paste bc im assuming that
please learn what parameters are btw
the variables in the modulescript dont exist in the script calling the modulescript
what do the variables equal
yea the module script I just want to fix my problem with the local script thats all i want
a table
ik what they are
I just want to get this done bro
what are u asking again
ok they aren't equal to nothing thats mb
i didn't see an error on the script
but what should i make them equal to
i mean it's the state manager yall told me to watch and learn from
the fuq told you that
build ur own module
something simple like
local module = {}
function module.add(a, b)
return a + b
end
return module
or take this and add ur own functions like sub, mult, div @pseudo spade
and then test it out and try to use them with require(module)
idk
someone from hidden devs
told me to make one for this
ok imma do this later but I want to make a easier script for player detection
nothing is working
wdym?
i want to
detect the players movement or when they aren't moving i want certain animations not playing