Categories > Coding > Lua >

How do I require local scripts

Posts: 4

Threads: 3

Joined: May, 2022

Reputation: 0

Posted

I know how to require module scripts by using require() but is there a function to require local scripts instead? Or do I need to use getgc() and debug.getreg() instead.

 

If there is a function like that I would want to know it because it can make coding much more efficient for me. :D

  • 0

Posts: 38

Threads: 6

Joined: Sep, 2022

Reputation: -27

Replied

you cant do that

  • 0

https://cdn.discordapp.com/attachments/994242253864312843/1016368659976945715/standard.gif

1_Ghost

Ghost

Posts: 248

Threads: 29

Joined: Apr, 2022

Reputation: 7

Replied

@mwc94087

 

good job, dont let him say useless things like that, proud of you

  • 0

https://cdn.discordapp.com/attachments/1018514909413253222/1018522666853998713/MOONLIGHT_1.gif

https://cdn.discordapp.com/attachments/1018514914832289802/1018903082660274297/standard.gif  

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )