It is ok THank you so much though I am very happy
How would I make it so if there is a keyword such as local or print I can make it change that word a color and only that word
I’ve had the same trouble, but that is a different topic and you should post that question as a different topic.
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