basicly i want to get code from for example pastbin raw and then use that code inside of a script
Alright, Roblox has a built-in function for this called loadstring(), this will create a function that you can run. You can enable it via ServerScriptService, make sure you tick the little box. For more information on it, read this. Hope this helps you.