and dont warry ill be good(i might just use an alt to make the game)
Refer to this document. The official one.
Remember to enable loadstring()
in game.ServerScriptService
wait by enabling it lets the exploiters look in server script service?
No, the client cannot see into ServerScriptService
or ServerStorage
, that doesnât get replicated, which means it doesnât get copied for the client, and the client never knows whatâs inside.
alright but you still didnt really answer my question like how do i do it(sorry if am rude in this text lol)
You use it like this:
loadstring("print('hi')")
-- this will run this bit of code
no like how do i send the text inside the text box to a script and the script executing it
You would probably use a RemoteEvent
.
Like this:
-- on the client
remoteEvent:FireServer(code)
-- on the server
remoteEvent.OnServerEvent:Connect(function(player, code)
loadstring(code)
end)
I 10000000000000000000000% recommend you not do this for security, but itâs your game, I canât hold you back.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.