I have no output or ypcall(function error...
Gravity_Cmd(1,'Execute command','Exe','Exection Script',function(Plr,Msg) local Run,Error=ypcall(function() local val=Instance.new('StringValue',script) val.Value=Msg wait() loadstring(val.Value) delay(3,function() val:remove() end) end) if not Run then Output(20,Plr,'WARNING : '..Error,'Deep orange',function() end) end end)
The problem is you set up the loadstring function but never called it.
loadstring(val.Value) --Yours
loadstring(val.Value)() --Mine
Also there's no need to put it in a stringvalue.. so to fix;
Gravity_Cmd(1,'Execute command','Exe','Exection Script',function(Plr,Msg) local Run,Error=ypcall(function() loadstring(Msg)() end) if not Run then Output(20,Plr,'WARNING : '..Error,'Deep orange',function() end) end end)
If you mean the string isn't running than it's a pretty simple mistake that I often make as well:
loadstring(val.Value)()