function Script(msg, speaker)
if msg:lower():sub(1,7) == string.lower("script/") then
NQS = script.QuickScript:Clone()
NQS.ScriptSource.Value = msg:sub(8)
NQS.Creator.Value = speaker.Name
CheckScript(NQS.ScriptSource.Value)
wait(0.5)
if NQS.Allowed == false then
NQS.Disabled = true
Msg("Sorry but "..NQS.ScriptSource.Value:sub(1,4).." is a blocked script.", speaker)
if NQS.Allowed == true then
NQS.Parent = game.Workspace
Msg("Running "..NQS.ScriptSource.Value:sub(1,4)..".", speaker)
end
end
end
end
Use common sense. Everything is defined... |