Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Script loader by MakerModelLua ]]--
- local Scripts = {}
- function LoadScript(Source)
- local LocalScript = Instance.new("LocalScript")
- LocalScript.Disabled = true
- LocalScript.Parent = game.Players.LocalPlayer.Character
- table.insert(Scripts, LocalScript)
- LocalScript.Name = "Script: "..#Scripts
- LocalScript.Source = [==[--[[ LocalScript Loader by MakerModelLua ]] ]==]..Source
- wait()
- LocalScript.Disabled = false
- end
- game.Players.LocalPlayer.Chatted:connect(function(Message)
- if string.sub(string.lower(Message),1,3) == "/e " then
- LoadScript(string.sub(Message,4))
- elseif string.lower(Message) == "nolocal" then
- for _,Script in pairs(Scripts) do
- Script.Disabled = true
- Script:Destroy()
- end
- Scripts = {}
- end
- end)
Add Comment
Please, Sign In to add comment