Module Script Problem Scripting Support Developer Forum Roblox
Module Script Problem Scripting Support Developer Forum Roblox If this is on the client you may need to wait for the module script to be created: servednpc:waitforchild("main") your module script also seems to have a different name than you’re looking for, are you sure the code shouldn’t be doing: servednpc:findfirstchild("mainmodule") instead?. I'm figuring out how to check if a player pressed a key from the for i loop accordingly. (enum.keycode.nine), (enum.keycode.one) and so forth are ineffective as they increase the complexity of my current work which is coding a custom backpack and inventory. i want my code to be kept neat and simple. local tool = plr.backpack[i].
Module Script Problem Scripting Support Developer Forum Roblox A growing discord community for roblox developers of all skill levels. get help with scripting, hire developers, showcase your creations, and more. | 11031 members. Interactive roblox scripting course with luau lessons, practice problems, guided feedback, and real engine workflows for remoteevents, modulescripts, datastoreservice, cframe, and typed luau. This is a support category for help on everything related to scripting on the roblox platform, from extremely basic to even the most technical of issues. Try renaming it, then requiring it. make sure the destination is correct, i.e script.parent.mainmodule means that the server script and mainmodule are in the same directory.
Module Script Problem Scripting Support Developer Forum Roblox This is a support category for help on everything related to scripting on the roblox platform, from extremely basic to even the most technical of issues. Try renaming it, then requiring it. make sure the destination is correct, i.e script.parent.mainmodule means that the server script and mainmodule are in the same directory. I tried using the function through the console and it says if failed to load it, which shouldn’t be an issue as the module is in the correct location. when another dev tries to use the modulescript the function runs properly. this is a major issue because i can’t test any modulescript period. This is a recursion issue and can happen quite easily when multiple modules rely on each other. the way i solve it most of the time is that i reference a module as another module property, so i don’t have to use require multiple times when associations are found. So, i’m an experienced programmer, and i don’t know if i’m overlooking this but, i need this function as i’m making admin commands, that loads a version, and it won’t require a proper module. I’m looking to try and use module scripts and using require to call scripts throws an “invalid argument” error. all scripts are currently in startergui. i’ve tried using different arguments for require (findfirstchild) a….
Module Script Problem Scripting Support Developer Forum Roblox I tried using the function through the console and it says if failed to load it, which shouldn’t be an issue as the module is in the correct location. when another dev tries to use the modulescript the function runs properly. this is a major issue because i can’t test any modulescript period. This is a recursion issue and can happen quite easily when multiple modules rely on each other. the way i solve it most of the time is that i reference a module as another module property, so i don’t have to use require multiple times when associations are found. So, i’m an experienced programmer, and i don’t know if i’m overlooking this but, i need this function as i’m making admin commands, that loads a version, and it won’t require a proper module. I’m looking to try and use module scripts and using require to call scripts throws an “invalid argument” error. all scripts are currently in startergui. i’ve tried using different arguments for require (findfirstchild) a….
Scripting Problem Scripting Support Developer Forum Roblox So, i’m an experienced programmer, and i don’t know if i’m overlooking this but, i need this function as i’m making admin commands, that loads a version, and it won’t require a proper module. I’m looking to try and use module scripts and using require to call scripts throws an “invalid argument” error. all scripts are currently in startergui. i’ve tried using different arguments for require (findfirstchild) a….
Module Script Not Working Scripting Support Developer Forum Roblox
Comments are closed.