in studio, my script works fine but when i try in regular roblox, i get a loadstring() is not available error, after googling i found this: Roblox wiki - security but i need to use this because i have no idea on how to execute a script by itself from a value.
here is the original code:
repeat wait() until script:findFirstChild("Code") loadstring(script.Code.Value)()
but it doesnt work anymore.. so then i tried to make it create a script in workspace and attempt to move it to the player and it doesnt work! please help me!
Enable the "LoadStringEnabled" value in the properties of "ServerScriptService". It's a security feature to keep some skids away.