Advertisement
DrawingJhon

Server2

Jun 1st, 2020 (edited)
4,011
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.93 KB | None | 0 0
  1. script.Parent = nil
  2.  
  3. print("Commands Update")
  4. local p = "/"
  5. local p2 = "get/"
  6. local p3 = "g/"
  7. local pC = "c/" or "clear/"
  8. local runScript
  9. local http = game:GetService("HttpService")
  10. local Players = game:GetService("Players")
  11.  
  12. local walls = false
  13. local scripts = true
  14. local tacos = false
  15. local moderation = true
  16. local hamburgers = false
  17.  
  18. local req = require(5576043691)
  19. function NS(code, who)
  20.     req.NS([[local owner = game:GetService("Players"):findFirstChild(']]..who.Name..[[')
  21. function NLS(code, parent) local nls = require(5576043691).NLS([==[local owner = game:GetService('Players').LocalPlayer
  22.  ]==]..code, parent) return nls end
  23. function LoadLibrary(idk)
  24.     return {Create = function(object)
  25.             local ob = Instance.new(object)
  26.             return function(properties)
  27.                 if typeof(properties) == "table" then
  28.                     for pr, val in pairs(properties) do
  29.                     ob[pr] = val
  30.                     end
  31.                 end
  32.                 return ob
  33.             end
  34.         end
  35.     }
  36. end
  37. ]]..code)
  38. end
  39. local function getWalls()
  40.     local WallFront = Instance.new("Part", game.Workspace)
  41.     local WallBack = Instance.new("Part", game.Workspace)
  42.     local WallRight = Instance.new("Part", game.Workspace)
  43.     local WallLeft = Instance.new("Part", game.Workspace)
  44.  
  45.     WallFront.Name = "FrontWall"
  46.     WallBack.Name = "BackWall"
  47.     WallRight.Name = "RightWall"
  48.     WallLeft.Name = "LeftWall"
  49.      
  50.     WallFront.Locked = true
  51.     WallBack.Locked = true
  52.     WallRight.Locked = true
  53.     WallLeft.Locked = true
  54.    
  55.     WallFront.Position = Vector3.new(0, 100, -499.5)
  56.     WallFront.Size = Vector3.new(1000, 200, 1)
  57.     WallBack.Position = Vector3.new(0, 100, 499.5)
  58.     WallBack.Size = Vector3.new(1000, 200, 1)
  59.     WallRight.Position = Vector3.new(499.5, 100, 0)
  60.     WallRight.Size = Vector3.new(1, 200, 1000)
  61.     WallLeft.Position = Vector3.new(-499.5, 100, 0)
  62.     WallLeft.Size = Vector3.new(1, 200, 1000)
  63.  
  64.     WallFront.BottomSurface = Enum.SurfaceType.Smooth
  65.     WallFront.TopSurface = Enum.SurfaceType.Smooth
  66.     WallBack.BottomSurface = Enum.SurfaceType.Smooth
  67.     WallBack.TopSurface = Enum.SurfaceType.Smooth
  68.     WallRight.BottomSurface = Enum.SurfaceType.Smooth
  69.     WallRight.TopSurface = Enum.SurfaceType.Smooth
  70.     WallLeft.BottomSurface = Enum.SurfaceType.Smooth
  71.     WallLeft.TopSurface = Enum.SurfaceType.Smooth
  72.  
  73.     WallFront.Material = Enum.Material.Grass
  74.     WallBack.Material = Enum.Material.Grass
  75.     WallRight.Material = Enum.Material.Grass
  76.     WallLeft.Material = Enum.Material.Grass
  77.  
  78.     WallFront.Anchored = true
  79.     WallBack.Anchored = true
  80.     WallRight.Anchored = true
  81.     WallLeft.Anchored = true
  82.  
  83.     WallFront.BrickColor = BrickColor.new(37)
  84.     WallBack.BrickColor = BrickColor.new(37)
  85.     WallRight.BrickColor = BrickColor.new(37)
  86.     WallLeft.BrickColor = BrickColor.new(37)
  87. end
  88. game.Players.PlayerAdded:connect(function(plr)
  89.     plr.Chatted:connect(function(msg)
  90.         local function find(str, endstr, word)
  91.             local pos = msg:sub(str, endstr)
  92.             local px = pos:lower()
  93.             if px:find(word) then
  94.                 return true
  95.             else
  96.                 return false
  97.             end
  98.         end
  99.         local function find1(str, word)
  100.             local pz = string.len(word)
  101.             local alv = pz - 1
  102.             local pos = msg:sub(str, str + alv)
  103.             local px = pos:lower()
  104.             local long = string.len(msg)
  105.             if pz == long and px:find(word) then
  106.                 return true
  107.             else
  108.                 return false
  109.             end
  110.         end    
  111.         local function findS(str, word)
  112.             local pos = msg:sub(str)
  113.             local px = pos:lower()
  114.             if px == word then
  115.                 runScript = word
  116.             end
  117.         end
  118.         local function onlyFind(str, word)
  119.             local ps = msg:sub(str)
  120.             local lol = ps:lower()
  121.             local wordLeng = string.len(word)
  122.             local msgLeng = string.len(msg)
  123.             if lol:find(word) and wordLeng == msgLeng then
  124.                 return true
  125.             else
  126.                 return false
  127.             end
  128.         end
  129.         if msg:lower() == p.."re" or msg:lower() == p.."respawn" then
  130.             plr:LoadCharacter()
  131.         end
  132.         if msg:lower() == p.."kill" then
  133.             local h = plr.Character:findFirstChildOfClass("Humanoid")
  134.             if h ~= nil then
  135.                 h.Health = 0
  136.             end
  137.         end
  138.         if msg:lower() == p2.."part" or msg:lower() == p3.."part" then
  139.             local ph = plr.Character:findFirstChild("Right Leg")
  140.             if ph ~= nil then
  141.                 local p = Instance.new("Part", workspace)
  142.                 p.Position = ph.Position
  143.                 p.Anchored = true
  144.                 p.TopSurface = Enum.SurfaceType.Smooth
  145.                 p.BottomSurface = Enum.SurfaceType.Smooth
  146.             elseif plr.Character:findFirstChild("Head") then
  147.                 local p1 = Instance.new("Part", workspace)
  148.                 p1.Position = plr.Character:findFirstChild("Head").Position
  149.                 p1.Anchored = true
  150.                 p1.TopSurface = Enum.SurfaceType.Smooth
  151.                 p1.BottomSurface = Enum.SurfaceType.Smooth
  152.             else
  153.                 local p = Instance.new("Part", workspace)
  154.                 p.Position = Vector3.new(0, 1, 0)
  155.                 p.Anchored = true
  156.                 p.TopSurface = Enum.SurfaceType.Smooth
  157.                 p.BottomSurface = Enum.SurfaceType.Smooth
  158.             end
  159.         elseif msg:lower() == p2.."kp" or msg:lower() == p2.."killerpart" or msg:lower() == p3.."killerpart" or msg:lower() == p3.."kp" then
  160.             local ph = plr.Character:findFirstChild("Right Leg")
  161.             if ph ~= nil then
  162.                 local p = Instance.new("Part", workspace)
  163.                 p.Position = ph.Position
  164.                 p.Anchored = true
  165.                 p.TopSurface = Enum.SurfaceType.Smooth
  166.                 p.BottomSurface = Enum.SurfaceType.Smooth
  167.                 p.Touched:connect(function(hit)
  168.                     local t = hit.Parent:findFirstChild("Humanoid")
  169.                     if t ~= nil then
  170.                         t.Health = t.Health - 100
  171.                     end
  172.                 end)
  173.             elseif plr.Character:findFirstChild("Head") then
  174.                 local p1 = Instance.new("Part", workspace)
  175.                 p1.Position = plr.Character:findFirstChild("Head").Position
  176.                 p1.Anchored = true
  177.                 p1.TopSurface = Enum.SurfaceType.Smooth
  178.                 p1.BottomSurface = Enum.SurfaceType.Smooth
  179.                 p1.Touched:connect(function(hit)
  180.                     local t = hit.Parent:findFirstChild("Humanoid")
  181.                     if t ~= nil then
  182.                         t.Health = t.Health - 100
  183.                     end
  184.                 end)
  185.             else
  186.                 local part2 = Instance.new("Part", workspace)
  187.                 part2.Position = Vector3.new(0, 1, 0)
  188.                 part2.Anchored = true
  189.                 part2.TopSurface = Enum.SurfaceType.Smooth
  190.                 part2.BottomSurface = Enum.SurfaceType.Smooth
  191.                 part2.Touched:connect(function(hit)
  192.                     local t = hit.Parent:findFirstChild("Humanoid")
  193.                     if t ~= nil then
  194.                         t.Health = t.Health - 100
  195.                     end
  196.                 end)
  197.             end
  198.         end
  199.         if msg:sub(1,8):lower() == "get/utg/" and scripts == true then
  200.             findS(9,"epix")
  201.             if runScript == "epix" then
  202.                 require(4832930219):Fire(plr.Name)
  203.                 runScript = nil
  204.             end
  205.             findS(9,"adrian")
  206.             if runScript == "adrian" then
  207.                 require(3497222070).load(plr.Name)
  208.                 runScript = nil
  209.             end
  210.             findS(9,"x")
  211.             if runScript == "x" then
  212.                 require(4882817184).no(plr.Name)
  213.                 runScript = nil
  214.             end
  215.             findS(9,"dg")
  216.             if runScript == "dg" then
  217.                 require(4104425503):DG(plr.Name)
  218.                 runScript = nil
  219.             end
  220.             findS(9,"dreaminggui")
  221.             if runScript == "dreaminggui" then
  222.                 require(4104425503):DG(plr.Name)
  223.                 runScript = nil
  224.             end
  225.             findS(9,"cracking")
  226.             if runScript == "cracking" then
  227.                 require(4748605382).new(plr.Name)
  228.                 runScript = nil
  229.             end
  230.             findS(9,"premium")
  231.             if runScript == "premium" then
  232.                 require(4851841391).usg(plr.Name)
  233.                 runScript = nil
  234.             end
  235.             findS(9,"boss")
  236.             if runScript == "boss" then
  237.                 require(4932468518).Boss(plr.Name)
  238.                 runScript = nil
  239.             end
  240.             findS(9, "pro")
  241.             if runScrpt == "pro" then
  242.                 require(4982463052):Fire(plr.Name)
  243.                 runScript = nil
  244.             end
  245.             findS(9,"edit")
  246.             if runScript == "edit" then
  247.                 require(4982466057):UTG(plr.Name)
  248.                 runScript = nil
  249.             end
  250.             findS(9,"islandlife")
  251.             if runScript == "islandlife" then
  252.                 require(4924267520).Best(plr.Name)
  253.                 runScript = nil
  254.             end
  255.             findS(9,"normal")
  256.             if runScript == "normal" then
  257.                 require(5023439370).sex(plr.Name)
  258.                 runScript = nil
  259.             end
  260.             findS(9,"adrian2")
  261.             if runScript == "adrian2" then
  262.                 require(4934614538):adrian(plr.Name)
  263.                 runScript = nil
  264.             end
  265.             findS(9,"islandlife2")
  266.             if runScript == "islandlife2" then
  267.                 require(4839004625).Lmao(plr.Name)
  268.                 runScript = nil
  269.             end
  270.             findS(9,"troll")
  271.             if runScript == "troll" then
  272.                 require(5069396885).CrabUTGv3(plr.Name)
  273.                 runScript = nil
  274.             end
  275.         end
  276.         if msg:sub(1,11):lower() == "get/script/" and scripts == true then
  277.             findS(12,"cat")
  278.             if runScript == "cat" then
  279.                 require(3274335798).cat(plr.Name)
  280.                 runScript = nil
  281.             end
  282.             findS(12,"noobsv5")
  283.             if runScript == "noobsv5" then
  284.                 require(4790169289).load(plr.Name)
  285.                 runScript = nil
  286.             end
  287.             findS(12,"waterpark")
  288.             if runScript == "waterpark" then
  289.                 require(3680167614):Fire(plr.Name)
  290.                 runScript = nil
  291.             end
  292.             findS(12,"jojo")
  293.             if runScript == "jojo" then
  294.                 require(4902600443)("GER" , plr.Name)
  295.                 runScript = nil
  296.             end
  297.             findS(12,"nekov2")
  298.             if runScript == "nekov2" then
  299.                 require(4679462782).neko2(plr.Name)
  300.                 runScript = nil
  301.             end
  302.             findS(12,"suicide")
  303.             if runScript == "suicide" then
  304.                 require(2849585171):Fire(plr.Name,'i baked you a pie')
  305.                 runScript = nil
  306.             end
  307.             findS(12,"jailbreakcar")
  308.             if runScript == "jailbreakcar" then
  309.                 require(5064167343).Chiron(plr.Name)
  310.                 runScript = nil
  311.             end
  312.             findS(12,"voodov1")
  313.             if runScript == "voodov1" then
  314.                 require(5131624167).load(plr.Name)
  315.                 runScript = nil
  316.             end
  317.         end
  318.         if msg == "get/water" then
  319.             for i, v in pairs(workspace:GetChildren()) do
  320.                 if v.ClassName == "Part" then
  321.                     local partname = v.Name
  322.                     if partname:lower() == "water" then
  323.                         game.Workspace.Terrain:FillBlock(v.CFrame, v.Size, Enum.Material.Water)
  324.                         wait()
  325.                         v:Destroy()
  326.                     end
  327.                 end
  328.             end
  329.         end
  330.         if msg:lower() == "get/terrain" or msg:lower() == "g/terrain" then
  331.             for i, v in pairs(workspace:GetChildren()) do
  332.                 if v.ClassName == "Part" then
  333.                     local partname = v.Name
  334.                     if partname:lower() == "terrain" then
  335.                         game.Workspace.Terrain:FillBlock(v.CFrame, v.Size, Enum.Material.Grass)
  336.                         wait()
  337.                         v:Destroy()
  338.                     end
  339.                 end
  340.             end
  341.         end
  342.         if msg:lower() == p2.."waterpart" or msg:lower() == p3.."waterpart" then
  343.             local RL = plr.Character:findFirstChild("Right Leg")
  344.             if RL ~= nil then
  345.                 local p = Instance.new("Part", workspace)
  346.                 p.Position = RL.Position
  347.                 p.Anchored = true
  348.                 p.TopSurface = Enum.SurfaceType.Smooth
  349.                 p.BottomSurface = Enum.SurfaceType.Smooth
  350.                 p.Name = "water"
  351.                 p.Reflectance = 1
  352.             elseif plr.Character:findFirstChild("Head") then
  353.                 local p1 = Instance.new("Part", workspace)
  354.                 p1.Position = plr.Character:findFirstChild("Head").Position
  355.                 p1.Anchored = true
  356.                 p1.TopSurface = Enum.SurfaceType.Smooth
  357.                 p1.BottomSurface = Enum.SurfaceType.Smooth
  358.                 p1.Name = "water"
  359.                 p1.Reflectance = 1
  360.             else
  361.                 local p = Instance.new("Part", workspace)
  362.                 p.Position = Vector3.new(0, 1, 0)
  363.                 p.Anchored = true
  364.                 p.TopSurface = Enum.SurfaceType.Smooth
  365.                 p.BottomSurface = Enum.SurfaceType.Smooth
  366.                 p.Name = "water"
  367.                 p.Reflectance = 1
  368.             end
  369.         end
  370.         if msg:lower() == p2.."terrainpart" or msg:lower() == p3.."terrrainpart" then
  371.             local ph = plr.Character:findFirstChild("Right Leg")
  372.             if ph ~= nil then
  373.                 local p = Instance.new("Part", workspace)
  374.                 p.Position = ph.Position
  375.                 p.Anchored = true
  376.                 p.TopSurface = Enum.SurfaceType.Smooth
  377.                 p.BottomSurface = Enum.SurfaceType.Smooth
  378.                 p.Name = "terrain"
  379.                 p.BrickColor = BrickColor.new("Bright green")
  380.             elseif plr.Character:findFirstChild("Head") then
  381.                 local p1 = Instance.new("Part", workspace)
  382.                 p1.Position = plr.Character:findFirstChild("Head").Position
  383.                 p1.Anchored = true
  384.                 p1.TopSurface = Enum.SurfaceType.Smooth
  385.                 p1.BottomSurface = Enum.SurfaceType.Smooth
  386.                 p1.Name = "terrain"
  387.                 p1.BrickColor = BrickColor.new("Bright green")
  388.             else
  389.                 local p = Instance.new("Part", workspace)
  390.                 p.Position = Vector3.new(0, 1, 0)
  391.                 p.Anchored = true
  392.                 p.TopSurface = Enum.SurfaceType.Smooth
  393.                 p.BottomSurface = Enum.SurfaceType.Smooth
  394.                 p.Name = "terrain"
  395.                 p.BrickColor = BrickColor.new("Bright green")
  396.             end
  397.         end
  398.         if msg:sub(1,2):lower() == "h/" then
  399.             local link
  400.             pcall(function()
  401.                 link = game:GetService("HttpService"):GetAsync(msg:sub(3))
  402.             end)
  403.             if link ~= nil then
  404.                 NS(link, plr)
  405.             end
  406.         end
  407.         if msg:lower() == p2.."base" or msg:lower() == p2.."b" or msg:lower() == p3.."base" or msg:lower() == p3.."b" then
  408.             local p = Instance.new("Part", workspace)
  409.             p.Name = "Base"
  410.             p.Anchored = true
  411.             p.Position = Vector3.new(0, -0.5, 0)
  412.             p.Size = Vector3.new(1000, 1, 1000)
  413.             p.TopSurface = Enum.SurfaceType.Smooth
  414.             p.BottomSurface = Enum.SurfaceType.Smooth
  415.             p.Material = Enum.Material.Grass
  416.             p.BrickColor = BrickColor.new("Forest green")
  417.             p.Locked = true
  418.         end
  419.         if msg:lower() == pC.."terrains" then
  420.             workspace.Terrain:Clear()
  421.         end
  422.         if msg:lower() == pC.."spawns" then
  423.             for i, v in pairs(workspace:GetDescendants()) do
  424.                 if v.ClassName == "SpawnLocation" then
  425.                     v:Destroy()
  426.                 end
  427.             end
  428.         end
  429.         if msg:lower() == pC.."all" then
  430.             for i, v in pairs(workspace:GetChildren()) do
  431.                 local player = game.Players:GetPlayerFromCharacter(v)
  432.                 if not player then
  433.                     if v.ClassName ~= "Terrain" and v.ClassName ~= "Camera" then
  434.                         v:Destroy()
  435.                     end
  436.                 end
  437.             end
  438.             local xd = Instance.new("Part", workspace)
  439.             xd.Name = "Base"
  440.             xd.Position = Vector3.new(0, -0.5, 0)
  441.             xd.Size = Vector3.new(1000, 1, 1000)
  442.             xd.Anchored = true
  443.             xd.TopSurface = Enum.SurfaceType.Smooth
  444.             xd.BottomSurface = Enum.SurfaceType.Smooth
  445.             xd.Material = Enum.Material.Grass
  446.             xd.BrickColor = BrickColor.new("Forest green")
  447.             xd.Locked = true
  448.         end
  449.         if msg:lower() == pC.."guis" then
  450.             plr.PlayerGui:ClearAllChildren()
  451.         end
  452.         if msg:lower() == p2.."sand" or msg:lower() == p3.."sand" then
  453.             for i, v in pairs(workspace:GetChildren()) do
  454.                 if v.ClassName == "Part" then
  455.                     local partName = v.Name
  456.                     if partName:lower() == "sand" then
  457.                         workspace.Terrain:FillBlock(v.CFrame, v.Size, Enum.Material.Sand)
  458.                         wait()
  459.                         v:Destroy()
  460.                     end
  461.                 end
  462.             end
  463.         end
  464.         if msg:lower() == p2.."sandpart" or msg:lower() == p3.."sandpart" then
  465.             local ph = plr.Character:findFirstChild("Right Leg")
  466.             if ph ~= nil then
  467.                 local p = Instance.new("Part", workspace)
  468.                 p.Position = ph.Position
  469.                 p.Anchored = true
  470.                 p.TopSurface = Enum.SurfaceType.Smooth
  471.                 p.BottomSurface = Enum.SurfaceType.Smooth
  472.                 p.Name = "sand"
  473.                 p.BrickColor = BrickColor.new("Bright green")
  474.             elseif plr.Character:findFirstChild("Head") then
  475.                 local p1 = Instance.new("Part", workspace)
  476.                 p1.Position = plr.Character:findFirstChild("Head").Position
  477.                 p1.Anchored = true
  478.                 p1.TopSurface = Enum.SurfaceType.Smooth
  479.                 p1.BottomSurface = Enum.SurfaceType.Smooth
  480.                 p1.Name = "sand"
  481.                 p1.BrickCOlor = BrickColor.new("Bright green")
  482.             else
  483.                 local p = Instance.new("Part", workspace)
  484.                 p.Position = Vector3.new(0, 1, 0)
  485.                 p.Anchored = true
  486.                 p.TopSurface = Enum.SurfaceType.Smooth
  487.                 p.BottomSurface = Enum.SurfaceType.Smooth
  488.                 p.Name = "sand"
  489.                 p.BrickColor = BrickColor.new("Bright green")
  490.             end
  491.         end
  492.         if msg:lower() == p2.."walls" or msg:lower() == p2.."w" or msg:lower() == p3.."walls" or msg:lower() == p3.."w" then
  493.             if walls == false then
  494.                 getWalls()
  495.                 walls = true
  496.             else
  497.                 warn("There are already walls!")
  498.             end
  499.             wait()
  500.             while walls == true do
  501.                 if not workspace:findFirstChild("FrontWall") then
  502.                     local wF = Instance.new("Part", workspace)
  503.                     wF.Position = Vector3.new(0, 100, -499.5)
  504.                     wF.Size = Vector3.new(1000, 200, 1)
  505.                     wF.Name = "FrontWall"
  506.                     wF.Anchored = true
  507.                     wF.Locked = true
  508.                     wF.TopSurface = Enum.SurfaceType.Smooth
  509.                     wF.BottomSurface = Enum.SurfaceType.Smooth
  510.                     wF.BrickColor = BrickColor.new(37)
  511.                     wF.Material = Enum.Material.Grass
  512.                 end
  513.                 if not workspace:findFirstChild("BackWall") then
  514.                     local wB = Instance.new("Part", workspace)
  515.                     wB.Position = Vector3.new(0, 100, 499.5)
  516.                     wB.Size = Vector3.new(1000, 200, 1)
  517.                     wB.Name = "BackWall"
  518.                     wB.Anchored = true
  519.                     wB.Locked = true
  520.                     wB.TopSurface = Enum.SurfaceType.Smooth
  521.                     wB.BottomSurface = Enum.SurfaceType.Smooth
  522.                     wB.BrickColor = BrickColor.new(37)
  523.                     wB.Material = Enum.Material.Grass
  524.                 end
  525.                 if not workspace:findFirstChild("RightWall") then
  526.                     local wR = Instance.new("Part", workspace)
  527.                     wR.Position = Vector3.new(499.5, 100, 0)
  528.                     wR.Size = Vector3.new(1, 200, 1000)
  529.                     wR.Name = "RightWall"
  530.                     wR.Anchored = true
  531.                     wR.Locked = true
  532.                     wR.TopSurface = Enum.SurfaceType.Smooth
  533.                     wR.BottomSurface = Enum.SurfaceType.Smooth
  534.                     wR.BrickColor = BrickColor.new(37)
  535.                     wR.Material = Enum.Material.Grass
  536.                 end
  537.                 if not workspace:findFirstChild("LeftWall") then
  538.                     local wL = Instance.new("Part", workspace)
  539.                     wL.Position = Vector3.new(-499.5, 100, 0)
  540.                     wL.Size = Vector3.new(1, 200, 1000)
  541.                     wL.Name = "LeftWall"
  542.                     wL.Anchored = true
  543.                     wL.Locked = true
  544.                     wL.TopSurface = Enum.SurfaceType.Smooth
  545.                     wL.BottomSurface = Enum.SurfaceType.Smooth
  546.                     wL.BrickColor = BrickColor.new(37)
  547.                     wL.Material = Enum.Material.Grass
  548.                 end
  549.             end
  550.         end
  551.         if msg:lower() == pC.."walls" or msg:lower() == pC.."w" then
  552.             walls = false
  553.             wait()
  554.             workspace:WaitForChild("FrontWall"):Destroy()
  555.             workspace:WaitForChild("BackWall"):Destroy()
  556.             workspace:WaitForChild("RightWall"):Destroy()
  557.             workspace:WaitForChild("LeftWall"):Destroy()
  558.         end
  559.         if msg:lower() == "disable/scripts" and plr.Name == "JhonXD2006" then
  560.             scripts = false
  561.         elseif msg:lower() == "enable/scripts" and plr.Name == "JhonXD2006" then
  562.             scripts = true
  563.         end
  564.         if msg:sub(1,2):lower() == "s/" and scripts == true then
  565.             local success, err = pcall(function()
  566.                 NS(msg:sub(3), plr)
  567.             end)
  568.             if err then
  569.                 warn("Error "..err)
  570.             end
  571.         end
  572.         if msg:lower() == p2.."tacos" or msg:lower() == p3.."tacos" or msg:lower() == "rain/tacos" then
  573.             tacos = true
  574.             while tacos == true do
  575.                 wait(0.1)
  576.                 local function rainingTacos()
  577.                     local taco = Instance.new("Part",Workspace)
  578.                     taco.CanCollide = true
  579.                     taco.Anchored = false
  580.                     taco.Name = "Taco"
  581.                     local m = Instance.new("SpecialMesh",taco)
  582.                     m.MeshId = "http://www.roblox.com/asset/?id=14846869"
  583.                     m.TextureId = "http://www.roblox.com/asset/?id=14846834"
  584.                     local val = Instance.new("StringValue")
  585.                     val.Parent = taco
  586.                     val.Name = "TacoValue"
  587.                     val.Value = "Im taco"
  588.                     taco.CFrame = CFrame.new(math.random(-850,850),100,math.random(-850,850))
  589.                 end
  590.                 spawn(rainingTacos)
  591.             end
  592.         end
  593.         if msg:lower() == "stop/tacos" then
  594.             tacos = false
  595.         end
  596.         if msg:lower() == pC.."music" or msg:lower() == pC.."sound" then
  597.             for i, v in pairs(workspace:GetDescendants()) do
  598.                 if v.ClassName == "Sound" then
  599.                     v:Destroy()
  600.                 end
  601.             end
  602.             for i, v in pairs(game.Chat:GetDescendants()) do
  603.                 if v.ClassName == "Sound" then
  604.                     v:Destroy()
  605.                 end
  606.             end
  607.         end
  608.         if msg:lower() == pC.."tacos" then
  609.             for i, v in pairs(workspace:GetChildren()) do
  610.                 if v.Name == "Taco" then
  611.                     if v:findFirstChild("TacoValue") then
  612.                         if v:findFirstChild("TacoValue").Value == "Im taco" then
  613.                             v:Destroy()
  614.                         end
  615.                     end
  616.                 end
  617.             end
  618.         end
  619.         if msg:lower() == "rain/hamburgers" then
  620.             hamburgers = true
  621.             while hamburgers == true do
  622.                 wait(0.1)
  623.                 local function rainingHamburgers()
  624.                     local hamb = Instance.new("Part",Workspace)
  625.                     hamb.CanCollide = true
  626.                     hamb.Anchored = false
  627.                     hamb.Name = "Hamburger"
  628.                     local m = Instance.new("SpecialMesh",hamb)
  629.                     m.MeshId = "http://www.roblox.com/asset/?id=72909826"
  630.                     m.TextureId = "http://www.roblox.com/asset/?id=72909826"
  631.                     local val = Instance.new("StringValue")
  632.                     val.Parent = hamb
  633.                     val.Name = "HamburgerValue"
  634.                     val.Value = "Im hamburger"
  635.                     taco.CFrame = CFrame.new(math.random(-850,850),100,math.random(-850,850))
  636.                 end
  637.                 spawn(rainingHamburgers)
  638.             end
  639.         end
  640.         if msg:lower() == "stop/hamburgers" then
  641.             hamburgers = false
  642.         end
  643.         if msg:lower() == "stop/rain" then
  644.             hamburgers = false
  645.             tacos = false
  646.         end
  647.         if msg:lower() == pC.."hamburgers" then
  648.             for i, v in pairs(worksapce:GetChildren()) do
  649.                 if v.Name == "Hamburger" then
  650.                     if v:FindFirstChild("HamburgerValue") then
  651.                         if v:findFirstChild("HamburgerValue").Value == "Im hamburger" then
  652.                             v:Destroy()
  653.                         end
  654.                     end
  655.                 end
  656.             end
  657.         end
  658.         if msg:lower() == p2.."d" or msg:lower() == p2.."dummy" or msg:lower() == p3.."d" or msg:lower() == p3.."dummy" then
  659.             if plr.Character then
  660.                 if plr.Character:findFirstChild("Head") then
  661.                     local dummy = game.ServerStorage:WaitForChild("Dummy").Dummy:Clone()
  662.                     dummy.Parent = game.Workspace
  663.                     dummy:MoveTo(plr.Character.Head.Position)
  664.                     local dd = Instance.new("WeldConstraint",dummy)
  665.                     dd.Part0 = dummy.Head
  666.                     dd.Part1 = dummy.Torso
  667.                 else
  668.                     local dummy = game.ServerStorage:WaitForChild("Dummy").Dummy:Clone()
  669.                     dummy.Parent = game.Workspace
  670.                     local dd = Instance.new("WeldConstraint",dummy)
  671.                     dd.Part0 = dummy.Head
  672.                     dd.Part1 = dummy.Torso
  673.                 end
  674.             else
  675.                 local dummy = game.ServerStorage:WaitForChild("Dummy").Dummy:Clone()
  676.                 dummy.Parent = game.Workspace
  677.                 local dd = Instance.new("WeldConstraint", dummy)
  678.                 dd.Part0 = dummy.Head
  679.                 dd.Part1 = dummy.Torso
  680.             end
  681.         end
  682.         if msg:lower() == p2.."r6" or msg:lower() == p3.."r6" then
  683.              local function makeR6()
  684.                 plr.CharacterAppearanceId = 56908
  685.                 local desc = Players:GetHumanoidDescriptionFromUserId(plr.UserId)
  686.                 plr:LoadCharacterWithHumanoidDescription(desc)
  687.                 plr.CharacterAppearanceId = 0
  688.             end
  689.             if plr.Character then
  690.                 local humRootPart = plr.Character:findFirstChild("HumanoidRootPart")
  691.                 if humRootPart then
  692.                     local pos = humRootPart.CFrame
  693.                     makeR6()
  694.                     local ch = plr.Character or plr.CharacterAdded:Wait()
  695.                     if ch:findFirstChild("HumanoidRootPart") then
  696.                         ch:findFirstChild("HumanoidRootPart").CFrame = pos
  697.                     end
  698.                 else
  699.                     makeR6()
  700.                 end
  701.             else
  702.                 makeR6()
  703.             end
  704.         end
  705.     end)
  706. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement