Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I have this module script but i cant get it to work?

1 answer

✓ Accepted answer

Hey! It doesn't work because It's trying to get a certain player at Holder -> EventHandler -> Line 5 & 6

The solution Is that you either take the model you listed modify the line of code and add a check so the script doesn't break instantly when it loads and doesn't find the player , you need to put this line above line 6 where the local plr is located at :

repeat wait() until game.Players:FindFirstChild(PUTNAMEHERE)

Of course you'd need to edit the PUTNAMEHERE to the username you want. After all of this you can upload the module to roblox and require It by using the api reference called require :

require("link_In_here")

Or If you just have It as a model you can do

require(the_modules_location)

Hope this helped! If you're still not sure how to fix It I've uploaded a fixed model you can just put In your game and you're good to go! (Don't forget to change the PUTNAMEHERE In the script!)

Link to the model : MODEL

This discussion is preserved as it was. New answers, comments, and votes are closed.