Good morning ,
I have a question.
It may seem stupid as a request but can we create remotes from only a script and without creating a remote in the replicated?
A bit like garry’s mod.
Thanks for response
Good morning ,
I have a question.
It may seem stupid as a request but can we create remotes from only a script and without creating a remote in the replicated?
A bit like garry’s mod.
Thanks for response
You actually, can make remotes wherever you want and with scripts! As long as it isn’t in ServerStorage
or ServerScriptStorage
so that the client is able to see it aswell (So make sure to create it using a server script).
I wouldn’t recommend this though because then you’d have to worry about how you would bind functions to said events, you’d probably have to use :WaitForChild()
or somehow detect that there is a new remote to bind to and that just sounds like a headache.
tl;dr It is POSSIBLE but that doesn’t mean you should be doing it.
good response i was thinking of a way to respond to this. but i didn’t really understand the question
Oh, thanks for the full explanation.
After you say that you do not advise but many people tell me that for security it is better, what do you think?
Security should be handled by the server in your script depending on what it is exactly that you need.
Making remotes with a script won’t change how secure your scripts are, because it would just be the same as if it was plopped into workspace beforehand. An exploiter could easily just fire it like they would any other Event/Function.
Oh ok, thanks again for the explanations
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.