Ok I will rn I will also @ you
Actually you donāt need to do that. I posted the same question:
Is it local script?
This is great! Itās very useful.
To access a gui it has to be a local script.
box:GetPropertyChangedSignal("Text"):Connect(function()
doesnāt seem to be working in Server, might as well consider using Local script for it.
Yes ok thank you
I am very happy
BTW, if you are the only one who will use this, you can also use ā/consoleā (developer console) to fire server side code. In studio playtest you can also fire local code with the command bar.
This is pretty risky since youāre using remotes and loadstring to execute code on the server, one error could be catastrophic; if you want to make client sided changes, you could use a wrapper (you pass a string into a wrapper) on the client to return a function which you can call (this is really similar to loadstring) but, itās much safer since exploiters will have a lower chance of gaining server sided access.
If you want to make changes on the server with code, you can use the in game console to execute code on the server (this only works if you have permissions to edit the game).
But I want it to happen on the server
and whats a wrapper?
If you want code to be executed on the server, you could use the in game console (Iāll post a picture here soon) and, the term wrapper is has a verity of definitions depending based on the context it is used in; in simple terms, a wrapper here is something that takes a string (code) which is parsed, then a function is created based off the input e.g.
local Wrapper = require(...)
local String = [["print('Hello World!')"]]
local ReturnedFunction = Wrapper.Wrap(String)
ReturnedFunction () -- Should print "Hello World!"
If youād like to learn more about wrappers, Iād recommend looking into the source code of a few open source wrappers (you should be able to find some on the DevForums).
What would I require?
I need to use wrapper since I cannot use loadstring in a localscript
Hi, sorry for the late reply, here is a picture gif of the command line in the developer console,
also, if youād like to use a wrapper, Iād recommend looking into some of the posts from here Search results for 'lua wrapper #resources' - DevForum | Roblox.
couldnt find any can you get an ID? please
Hereās a pretty nice lua wrapper
and, itās sandboxed too so, exploiters wonāt have access to certain functions/methods if they do somehow (unlikely if you handle remotes correctly and do checks) gain server sided access.
Can you send it to me from the roblox website link? and can you show me how to use it?