Hello!
I'm trying to make a free to use engine which may help developers to simplify Roblox modules and scripts creation which is named RoApp.
I want to developers import RoApp, and used it just like this:
1 | local app = RoApp.new( "AppName" , RoApp.Module) |
2 | function app.InitClient(player) |
3 | ... |
4 | end |
5 | function app.InitServer() |
6 | ... |
7 | end |
I made it, but I can't made InitClient function. The function is defined in server script but it has to be a local script. There isn't a way to just send function by remote event or something like that.
Is there ways to do it?
Thank you.
Try making it a ModuleScript so that both the server and client can access it
Here's a few links to some resources to see if these would help. Link1 Link2 Hope these help and are what your looking for if they don't maybe post a question on the Roblox devforum if you don't get any answers in the next few days.