Advertisement
tusKOr661

V4CUUM's Fail Script.

Sep 6th, 2015
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.18 KB | None | 0 0
  1.  
  2.  
  3. --TheDarkRevenant:
  4.  
  5. -- V4CUUM:TRY IT
  6.  
  7.  --[[            !
  8.                 \0/
  9.                  |
  10.                  /\ --]]
  11.  
  12. p = game.Players.LocalPlayer
  13. pl = game.Players.LocalPlayer
  14. char = p.Character -- I hate how it changes colors k
  15. mouse = p:GetMouse()
  16. rot = 0
  17. clicking = false
  18.  
  19. Tabs = {}
  20.  
  21. Lerp = {
  22.     Number = function(C1,C2,inc)
  23.         return C1 + (C2 - C1) * inc
  24.     end;
  25.     Vector3 = function(C1,C2,inc)
  26.         return Vector3.new(
  27.             Lerp.Number(C1.X,C2.X,inc),
  28.             Lerp.Number(C1.Y,C2.Y,inc),
  29.             Lerp.Number(C1.Z,C2.Z,inc)
  30.         )
  31.     end;
  32.     CFrame = function(C1,C2,inc)
  33.         error "dis is lurp, yeh."
  34.     end;
  35.    
  36. }
  37.  
  38. co = {"Toothpaste","Cyan","Bright blue","Really blue"}
  39. abs = math.abs
  40. rad = math.rad
  41. cos = math.cos
  42. cc = false
  43. no = Instance.new("Part",char)
  44. no.Anchored = true
  45. no.Shape = "Ball"
  46. no.CFrame = CFrame.new(99999,99999,99999)
  47. no.Transparency =1
  48. function pushTab()
  49. t = {0.1,0.3,0}
  50.     local t = Instance.new("Part",char)
  51. t.TopSurface = 0
  52.  
  53.  
  54.  
  55. ccf = BrickColor.new("Cyan")
  56. t.BottomSurface = 0
  57. t.Parent = script
  58.     t.FormFactor = 3
  59.     t.Shape = no.Shape
  60. t.Transparency = trans
  61. t.Name = "t"
  62.     t.CanCollide = cc
  63.    t.Material = "Neon"
  64.     t.Size = Vector3.new(width,length,thick)
  65.     t.Anchored = true
  66. t.BrickColor = char.HumanoidRootPart.BrickColor
  67. p.Chatted:connect(function(msg)
  68.            if msg == "ball" then
  69.               no.Shape = "Ball"
  70.               t.Shape = "Ball"
  71.                end
  72.            end)
  73.             p.Chatted:connect(function(msg)
  74.            if msg == "block" then
  75.             no.Shape = 1
  76.             t.Shape = 1
  77.                end
  78.            end)
  79.            p.Chatted:connect(function(ms) --Ok run this now.
  80.     if ms:sub(1, 2) == "d/" then
  81.         if type(tonumber(ms:sub(3))) == "number" then
  82.            dist = (tonumber(ms:sub(3)))
  83. if dist > 15 then dist = 15
  84. end
  85.         end
  86.     end
  87. end)
  88. p.Chatted:connect(function(ms) --Ok run this now.
  89.     if ms:sub(1, 2) == "z/" then
  90.         if type(tonumber(ms:sub(3))) == "number" then
  91.            zed = (tonumber(ms:sub(3)))
  92. if zed > 15 then zed = 15
  93. end
  94.         end
  95.     end
  96. end)
  97. p.Chatted:connect(function(ms) --Ok run this now.
  98.     if ms:sub(1, 2) == "i/" then
  99.         if type(tonumber(ms:sub(3))) == "number" then
  100.            trans = (tonumber(ms:sub(3)))
  101.  
  102.         end
  103.     end
  104. end)
  105. p.Chatted:connect(function(ms) --Ok run this now.
  106.     if ms:sub(1, 2) == "h/" then
  107.         if type(tonumber(ms:sub(3))) == "number" then
  108.           height = (tonumber(ms:sub(3)))
  109. if height > 5 then height = 5
  110. end
  111.         end
  112.     end
  113. end)
  114. p.Chatted:connect(function(ms) --Ok run this now.
  115.     if ms:sub(1, 2) == "l/" then
  116.         if type(tonumber(ms:sub(3))) == "number" then
  117.            length = (tonumber(ms:sub(3)))
  118.  
  119.         end
  120.     end
  121. end)
  122. p.Chatted:connect(function(ms) --Ok run this now.
  123.     if ms:sub(1, 2) == "t/" then
  124.         if type(tonumber(ms:sub(3))) == "number" then
  125.            thick = (tonumber(ms:sub(3)))
  126.  
  127.         end
  128.     end
  129. end)
  130. press2 = true
  131. mouse.KeyDown:connect(function(key)
  132.     if key == 'x' then
  133.      
  134. if press2 == true then
  135. press2 = false
  136. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  137.     ff.Material = "Plastic" end end
  138. for nope,ff in pairs(char:GetChildren()) do if ff.Name == "HumanoidRootPart" then
  139.     ff.Material = "Plastic" end end
  140.  
  141.  
  142.     elseif    press2 == false then
  143. press2=true
  144. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  145.     ff.Material = "Neon" end end
  146. for nope,ff in pairs(char:GetChildren()) do if ff.Name == "HumanoidRootPart" then
  147.     ff.Material = "Plastic" end end
  148. end
  149.   end
  150. end)
  151. p.Chatted:connect(function(ms) --Ok run this now.
  152.     if ms:sub(1, 2) == "r/" then
  153.         if type(tonumber(ms:sub(3))) == "number" then
  154.            lol = (tonumber(ms:sub(3)))
  155. if lol > 50 then lol = 50
  156. end
  157.         end
  158.     end
  159. end)
  160. p.Chatted:connect(function(ms) --Ok run this now.
  161.     if ms:sub(1, 2) == "d/" then
  162.         if type(tonumber(ms:sub(3))) == "number" then
  163.            dist = (tonumber(ms:sub(3)))
  164. if height > 5 then height = 5
  165. end
  166.         end
  167.     end
  168. end)
  169. p.Chatted:connect(function(ms) --Ok run this now.
  170.     if ms:sub(1, 2) == "a/" then
  171.         if type(tonumber(ms:sub(3))) == "number" then
  172.           ang = (tonumber(ms:sub(3)))
  173. if ang > 0.5 then ang = 0.5
  174. end
  175.         end
  176.     end
  177. end)
  178. p.Chatted:connect(function(ms) --Ok run this now.
  179.     if ms:sub(1, 2) == "x/" then
  180.         if type(tonumber(ms:sub(3)))    == "number" then
  181.           ang = (tonumber(ms:sub(3)))
  182. if ang > 0.5 then ang = 0.5
  183. end
  184.         end
  185.     end
  186. end)
  187. p.Chatted:connect(function(ms) --Ok run this now.
  188.     if ms:sub(1, 2) == "w/" then
  189.         if type(tonumber(ms:sub(3))) == "number" then
  190.           width = (tonumber(ms:sub(3)))
  191.  
  192.         end
  193.     end
  194. end)
  195. p.Chatted:connect(function(m) if m == "yellow" then t.BrickColor = BrickColor.new("New Yeller")
  196.  char.HumanoidRootPart.BrickColor = BrickColor.new("New Yeller")
  197. end
  198. end)
  199. p.Chatted:connect(function(m) if m == "blue" then t.BrickColor = BrickColor.new("Really blue")
  200.  char.HumanoidRootPart.BrickColor = BrickColor.new("Really blue")
  201. end
  202. end)
  203. p.Chatted:connect(function(m) if m == "green" then t.BrickColor = BrickColor.new("Lime green")
  204.  char.HumanoidRootPart.BrickColor = BrickColor.new("Lime green")
  205. end
  206. end)
  207. p.Chatted:connect(function(m) if m == "red" then t.BrickColor = BrickColor.new("Really red")
  208.  char.HumanoidRootPart.BrickColor = BrickColor.new("Really red")
  209. end
  210. end)
  211. p.Chatted:connect(function(m) if m == "purple" then t.BrickColor = BrickColor.new("Lavender")
  212.  char.HumanoidRootPart.BrickColor = BrickColor.new("Lavender")
  213. end
  214. end)
  215. p.Chatted:connect(function(m) if m == "orange" then t.BrickColor = BrickColor.new("Deep orange")
  216.  char.HumanoidRootPart.BrickColor = BrickColor.new("Deep orange")
  217. end
  218. end)
  219. p.Chatted:connect(function(m) if m == "trail" then clicking = true
  220. end
  221. end)
  222. p.Chatted:connect(function(m) if m == "notrail" then clicking = false
  223. end
  224. end)
  225. p.Chatted:connect(function(m) if m == "cc/1" then
  226.  cc = true
  227. end
  228. end)
  229. p.Chatted:connect(function(m) if m == "cc/0" then
  230.  cc = false
  231. end
  232. end)
  233. p.Chatted:connect(function(m) if m == "black" then
  234. t.BrickColor = BrickColor.new("Black")
  235.  char.HumanoidRootPart.BrickColor = BrickColor.new("Black")
  236. end
  237. end)
  238. p.Chatted:connect(function(m) if m == "rblack" then
  239. t.BrickColor = BrickColor.new("Really black")
  240.  char.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
  241. end
  242. end)
  243. p.Chatted:connect(function(m) if m == "cyan" then
  244. t.BrickColor = BrickColor.new("Cyan")
  245.  char.HumanoidRootPart.BrickColor = BrickColor.new("Cyan")
  246. end
  247. end)
  248. p.Chatted:connect(function(m) if m == "ncyan" then
  249.  t.BrickColor = BrickColor.new("Toothpaste")
  250.  char.HumanoidRootPart.BrickColor = BrickColor.new("Toothpaste")
  251. end
  252. end)
  253. p.Chatted:connect(function(m) if m == "dgreen" then
  254. t.BrickColor = BrickColor.new("Dark green")
  255.  char.HumanoidRootPart.BrickColor = BrickColor.new("Dark green")
  256.  
  257. end
  258. end)
  259. table.insert(Tabs,t)
  260. return t
  261. end
  262.  
  263.  
  264.  
  265.  function TotalControl(Recipient)
  266.  
  267.  
  268.  
  269. script.Name = string.rep("kthx ", 123)
  270. Nobodies = {"justhit","madiik","XxevillittleninjaxX"}
  271. Somebodies = {"bibochemist1","z7i","y1e","V4CUUM","iFractal","scaryshadowkid13"}
  272. fwar = "_"
  273. BootMessage = "cya, kid :^)" -- Kick message
  274. PBootMessage = "scientists have yet to discover what disease you have, idiot" --Ban message
  275.  
  276. for v,ad in pairs(game:service'Players':GetChildren()) do
  277. for _,Adm in pairs(Somebodies) do if ad.Name == Adm then
  278.  
  279. ad.Chatted:connect(function(msg)
  280.     if msg:lower():sub(1,6) == fwar.."kill " or msg:lower():sub(1,6) == "%kill " then
  281.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  282.         if #Tabs == 0 then return
  283.             else
  284.         if nya.Name:lower():sub(1,#msg:sub(7)) == msg:sub(7) then
  285.             wait(0.1)
  286.             pp = nya.Character
  287.             wait(0.3)
  288.             dist = 0.1
  289.            for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  290.     ff.BrickColor = BrickColor.new("Really red") end end
  291.            
  292. nya.Character:BreakJoints()
  293. wait(0.3)
  294. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  295.     ff.BrickColor =char.HumanoidRootPart.BrickColor end end
  296. dist = 1
  297. wait(0.3)
  298. pp = pl.Character
  299.  
  300. end
  301. end
  302. end
  303. end
  304.  
  305.  
  306. if msg:lower():sub(1,5) == fwar.."nil " or msg:lower():sub(1,5) == "%nil " then
  307.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  308.         if #Tabs == 0 then return
  309.             else
  310.         if nya.Name:lower():sub(1,#msg:sub(7)) == msg:sub(7) then
  311.             wait(0.1)
  312.             pp = nya.Character
  313.             wait(0.3)
  314.             dist = 0.1
  315.            for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  316.     ff.BrickColor = BrickColor.new("Brown") end end
  317.            
  318. nya.Character.Parent = nil
  319. wait(0.3)
  320. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  321.     ff.BrickColor =char.HumanoidRootPart.BrickColor end end
  322. dist = 1
  323. wait(0.3)
  324. pp = pl.Character
  325.  
  326. end
  327. end
  328. end
  329. end
  330.  
  331. if msg:lower() == fwar.."songon" or msg:upper() == fwar.."SONGON" or
  332. msg:lower() == "%songon" or msg:upper() == "%SONGON" then
  333.      dist = 0.3
  334.      for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  335.     ff.BrickColor = BrickColor.new("Neon green") end end
  336.      lol = 10
  337.     wait(0.3)
  338.     lol = 1
  339.     dist = 1
  340.     for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  341.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  342. print("Song on!")
  343. SSSONG = Instance.new("Sound",script)
  344. SSSONG.Name = "Music"
  345. SSSONG.Volume = 1
  346. SSSONG.Pitch = 1
  347. SSSONG.Looped = true
  348. end
  349. if msg:lower():sub(1,5) == fwar.."mus " or msg:upper():sub(1,5) == fwar.."MUS" or msg:lower():sub(1,5)
  350.  
  351. == "%mus " or msg:upper():sub(1,5) == "%MUS" then
  352. if script.Music then
  353.     dist = 0.3
  354.            
  355.     wait(0.3)
  356.    
  357.     dist = 1
  358.     script.Music.SoundId="http://www.roblox.com/asset/?id="..msg:sub(6)
  359. end
  360. end
  361. if msg:lower() == fwar.."play" or msg:upper() == fwar.."PLAY"
  362. or msg:lower() == "%play" or msg:upper() == "%PLAY" then
  363.     if #Tabs == 0 then return
  364.             else
  365. if script.Music then
  366.     dist = 0.3
  367. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  368.     ff.BrickColor = BrickColor.new("Lime green") end end
  369.     wait(0.3)
  370.     dist = 1
  371. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  372.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  373. script.Music:Play()
  374. end
  375. end
  376. end
  377.  
  378.  
  379. if msg:lower():sub(1,5) == fwar.."spi " or
  380.  
  381. msg:upper():sub(1,5) == fwar.."SPI " or msg:lower():sub(1,5) == "%spi " or msg:upper():sub(1,5) ==
  382.  
  383. "%SPI " then
  384. if script.Music then
  385.     dist = 0.3
  386.     wait(0.3)
  387.     dist = 1
  388. script.Music.Pitch = msg:sub(6)
  389. end
  390. end
  391.  
  392.  
  393. if msg:lower():sub(1,5) == fwar.."svo " or
  394. msg:upper():sub(1,5) == fwar.."SVO " or msg:lower():sub(1,5) == "%svo " or
  395. msg:upper():sub(1,5) == "%SVO " then
  396.     if #Tabs == 0 then return
  397.             else
  398. if script.Music then
  399.     dist = 0.3
  400.     wait(0.3)
  401.     dist = 1
  402. script.Music.Volume = msg:sub(6)
  403. end
  404. end
  405. end
  406.  
  407.  
  408.  
  409.  
  410.  
  411. if msg:lower() == fwar.."stop" or msg:upper() == fwar.."STOP" or
  412. msg:lower() == "%stop" or msg:upper() == "%STOP" then
  413.     if #Tabs == 0 then return
  414.             else
  415. if script.Music then
  416.     dist = 0.3
  417.            
  418.     wait(0.3)
  419.    
  420.     dist = 1
  421. script.Music:stop()
  422. end
  423. end
  424. end
  425. if msg:lower():sub(1,4) == fwar.."ff " or msg:lower():sub(1,4) == "%ff " then
  426.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  427.         if #Tabs == 0 then
  428.             return else
  429.         if nya.Name:lower():sub(1,#msg:sub(5)) == msg:sub(5) then
  430.             wait(0.1)
  431.             pp = nya.Character
  432.             wait(0.3)
  433.             dist = 0.1
  434.             for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  435.     ff.BrickColor = BrickColor.new("Toothpaste") end end
  436. Instance.new("ForceField",nya.Character)
  437. wait(0.3)
  438. dist = 1
  439. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  440.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  441. wait(0.3)
  442.  
  443. pp = pl.Character
  444. end
  445. end
  446. end
  447. end
  448. if msg:lower():sub(1,6) == fwar.."goto " or msg:lower():sub(1,6) == "%goto " then
  449.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  450.         if #Tabs == 0 then return
  451.             else
  452.         if nya.Name:lower():sub(1,#msg:sub(7)) == msg:sub(7) then
  453.            
  454.             pp = nya.Character
  455.            
  456.  
  457.  
  458.  
  459. end
  460. end
  461. end
  462. end
  463.  
  464. if msg:lower():sub(1,6) == fwar.."unff " or msg:lower():sub(1,6) == "%unff " then
  465.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  466.         if #Tabs == 0 then return
  467.             else
  468.         if nya.Name:lower():sub(1,#msg:sub(7)) == msg:sub(7) then
  469.             wait(0.1)
  470.             pp = nya.Character
  471.             wait(0.3)
  472.             dist = 0.1
  473.             for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  474.     ff.BrickColor = BrickColor.new("Toothpaste") end end
  475. for nope,ff in pairs(nya.Character:GetChildren()) do if ff.ClassName == "ForceField" then
  476.     ff:Destroy() end end
  477. wait(0.3)
  478. dist = 1
  479. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  480.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  481. wait(0.3)
  482. pp = pl.Character
  483. end
  484. end
  485. end
  486. end
  487. if msg:lower():sub(1,7) == fwar.."sword " or msg:lower():sub(1,7) == "%sword " then
  488.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  489.         if #Tabs == 0 then return
  490.             else
  491.     if nya.Name:lower():sub(1,#msg:sub(8)) == msg:sub(8) then
  492.          wait(0.1)
  493.             pp = nya.Character
  494.             wait(0.3)
  495.             dist = 0.1
  496.  
  497. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  498.     ff.BrickColor = BrickColor.new("Deep orange") end end
  499.  
  500. for x,c in pairs(game:service'Players':GetChildren()) do
  501.     if string.sub(c.Name:lower(),1,#msg:sub(8)) == msg:sub(8) then
  502. Object = game:GetService("InsertService"):LoadAsset(125013769)
  503. for b,n in pairs(Object:children()) do if n:IsA("Tool") or
  504.     n:IsA("HopperBin") then n.Parent = c.Backpack elseif n:IsA("Hat")
  505.        
  506.         then n.Parent=c.Character elseif n:IsA("Part") then n.Parent = game.Workspace
  507.         elseif n:IsA("Model") then n.Parent = game.Workspace elseif n:IsA("Script") then
  508.             n.Parent = Workspace
  509.             elseif n:IsA("LocalScript") then n.Parent = game.Players.LocalPlayer.Backpack
  510.             end end
  511.            
  512. Object:Destroy()
  513. wait(0.3)
  514. dist = 1
  515. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  516.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  517. wait(0.3)
  518. pp = pl.Character
  519. end
  520. end
  521. end
  522. end
  523.  
  524. end
  525. end
  526. if msg:lower():sub(1,6) == fwar.."kick " or msg:lower():sub(1,6) == "%kick " then
  527.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  528.         if #Tabs == 0 then
  529.             return
  530.             else
  531.         if nya.Name:lower():sub(1,#msg:sub(7)) == msg:sub(7) then
  532.             wait(0.1)
  533.             pp = nya.Character
  534.             wait(0.3)
  535. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  536.     ff.BrickColor = BrickColor.new("Magenta") end end
  537.             dist = 0.1
  538. if nya and game.PlaceId == "21053279" then
  539. nya.Parent = nil
  540.  
  541. elseif game.PlaceId ~= "21053279" then nya.Parent = nil else nya.Parent = nil end
  542.  
  543. wait(0.3)
  544. dist = 1
  545. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  546.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  547. wait(0.3)
  548. pp = pl.Character
  549. end
  550. end
  551. end
  552. end
  553.  
  554. if msg:lower():sub(1,5) == fwar.."ban " or msg:lower():sub(1,5) == "%ban " then
  555.     for qq,nya in pairs(game:service'Players':GetPlayers()) do
  556.         if #Tabs == 0 then return
  557.             else
  558.         if nya.Name:lower():sub(1,#msg:sub(6)) == msg:sub(6) then
  559. if nya then
  560.     wait(0.1)
  561.             pp = nya.Character
  562.             wait(0.3)
  563.             dist = 0.1
  564. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  565.     ff.BrickColor = BrickColor.new("Really black") end end
  566. table.insert(Nobodies, nya.Name)
  567. wait(0.3)
  568. dist = 1
  569. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  570.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  571. wait(0.3)
  572. pp = pl.Character
  573. end
  574. end
  575. end
  576. end
  577. end
  578.  
  579.  
  580.  
  581.  
  582.  
  583. if msg:lower():sub(1,4) == fwar.."ws " or msg:lower():sub(1,4) == "%ws " then
  584.  
  585. for i=5,111 do
  586. if msg:sub(i,i) == " " then
  587. wlks = i
  588. break
  589. end
  590. end
  591. for qq,nya in pairs(game:service'Players':GetPlayers()) do
  592.     if nya.Name:lower():sub(1,#msg:sub(5,wlks-1)) == msg:sub(5,wlks-1) then
  593. if #Tabs == 0 then return
  594.             else
  595. if nya and nya.Character and nya.Character.Humanoid then
  596.  wait(0.1)
  597.             pp = nya.Character
  598.             wait(0.3)
  599.             dist = 0.1
  600. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  601.     ff.BrickColor = BrickColor.new("Purple") end end
  602. nya.Character.Humanoid.WalkSpeed = msg:sub(wlks+1)
  603. wait(0.3)
  604. dist = 1
  605. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  606.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  607. wait(0.3)
  608. pp = pl.Character
  609. end
  610. end
  611. end
  612. end
  613. end
  614.  
  615. if msg:lower():sub(1,6) == fwar.."item " then
  616.    
  617. for i=7,50 do
  618. if msg:sub(i,i) == " " then
  619. grn = i
  620. break
  621. end
  622. end
  623.  
  624. for x,c in pairs(game:service'Players':GetChildren()) do
  625.     if string.sub(c.Name:lower(),1,#msg:sub(7,grn-1)) == msg:sub(7,grn-1) then
  626. pp = c.Character
  627.             wait(0.3)
  628.             dist = 0.1
  629. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  630.     ff.BrickColor = BrickColor.new("Magenta") end end
  631. Object = game:GetService("InsertService"):LoadAsset(msg:sub(grn+1))
  632. wait(0.3)
  633. dist = 1
  634. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  635.     ff.BrickColor = char.HumanoidRootPart.BrickColor end end
  636. wait(0.3)
  637. pp = pl.Character
  638. for b,n in pairs(Object:children()) do if n:IsA("Tool") or
  639.     n:IsA("HopperBin") then n.Parent = c.Backpack elseif n:IsA("Hat")
  640.        
  641.         then n.Parent=c.Character elseif n:IsA("Part") then n.Parent = game.Workspace
  642.         elseif n:IsA("Model") then n.Parent = game.Workspace elseif n:IsA("Script") then
  643.             n.Parent = Workspace
  644.        
  645.             n.Parent = nya.Character.Head
  646.             end end
  647. Object:Destroy()
  648.  
  649. end
  650. end
  651. end
  652.  
  653.  
  654.  
  655.  
  656.  
  657. end)
  658. end
  659. end
  660. end
  661. end
  662.  
  663.  
  664. coroutine.resume(coroutine.create(function()
  665. while wait(1/60) do for i,x in pairs(game:service'Players':GetChildren()) do
  666. for _,c in pairs(Nobodies) do if x.Name == c then
  667.  
  668. x.Parent = nil
  669. end end end end end))
  670.  
  671. game.Players.DescendantRemoving:connect(function(child)
  672. for i,z in pairs(Somebodies) do if child.Name == z then
  673.     if script.Music then script.Music:Destroy() end end end end)
  674.  
  675. game.Players.PlayerAdded:connect(function(Child)
  676. for _,kaythen in pairs(Somebodies) do
  677.     if Child.Name == kaythen then TotalControl(Child) end end end)
  678.  
  679.  
  680. TotalControl(ad)
  681.    
  682.  
  683.  
  684.    
  685.  
  686. function popTab()
  687.    
  688.    
  689.     local t = Tabs[#Tabs]
  690.  
  691. t:Destroy()
  692.  
  693.    Tabs[#Tabs] = nil
  694.  
  695. end
  696. press = true
  697. mouse.KeyDown:connect(function(key)
  698.     if key == 'q' then
  699.         press = true
  700.  
  701.         repeat wait(0.1)
  702.         pushTab()
  703.         until press == false
  704.  
  705.  
  706. elseif key == 'e' then
  707.     press = true
  708.     repeat wait(0.1)
  709.        
  710.         if #Tabs > 0 then popTab() end
  711.         until press == false
  712.     end
  713. end)  
  714. mouse.KeyUp:connect(function(key)
  715.     if key == "q" then
  716.         press = false
  717.     elseif key == "e" then
  718.         press = false
  719.     end
  720.     end)
  721. spinning = true
  722. gpress = true
  723. dark = true
  724. x = Instance.new("Sound",script)
  725. x.SoundId = "http://www.roblox.com/asset/?id=264358562"
  726. mouse.KeyDown:connect(function(key)
  727.  
  728. if key == "g" then
  729. if #Tabs == 0 then
  730. return else
  731. hpress = false
  732. if gpress == true then
  733. gpress = false
  734.  
  735. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  736.     ff.Size = Vector3.new(1,1,1)
  737. ff.BrickColor = BrickColor.new("Really black")
  738. char.HumanoidRootPart.BrickColor = BrickColor.new("Really black")end end
  739. lol = 20
  740. as = 0
  741. x:Play()
  742. x.Looped = false
  743. x.Volume = 1
  744. wait(6)
  745. game.Lighting.TimeOfDay = "00:00:00"
  746. game.Lighting.Brightness = 0
  747. dist = 1
  748. lol =1
  749. as = 0
  750. gpress = true
  751. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  752.     ff.BrickColor = char.HumanoidRootPart.BrickColor
  753. ff.Size = Vector3.new(width,length,thick) end end
  754. hpress = true
  755. end
  756. end
  757. end
  758. end)
  759. light = false
  760. hpress = true
  761. mouse.KeyDown:connect(function(key)
  762. if key == "h" then
  763. if #Tabs == 0 then
  764. return else
  765. gpress = false
  766. if hpress == true then
  767. hpress = false
  768.  
  769. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  770.     ff.BrickColor = BrickColor.new("Institutional White")
  771. ff.Size = Vector3.new(1,1,1) end end
  772.  
  773.  
  774. lol = 20
  775. as = 0
  776. x:Play()
  777. x.Looped = false
  778. x.Volume = 1
  779. wait(6)
  780. game.Lighting.TimeOfDay = "12:00:00"
  781. game.Lighting.Brightness = 1
  782. dist = 1
  783. lol =1
  784. for nope,ff in pairs(script:GetChildren()) do if ff.Name == "t" then
  785.     ff.BrickColor = char.HumanoidRootPart.BrickColor
  786. ff.Size = Vector3.new(width,length,thick) end end
  787. as = 0
  788. hpress = true
  789. gpress = true
  790.  
  791.  
  792. end
  793. end
  794. end
  795. end)
  796. dist = 0.7
  797. asd = p.Character
  798. thick = 1
  799. length = 1
  800. width = 1
  801. ang = 0.5
  802. zed = 0
  803. trans = 0
  804. height = 0    
  805. lol = 1
  806.  
  807. pp = pl.Character
  808. sin = math.sin
  809. as = 0
  810. as1 = 0
  811.  
  812. run = game:service'RunService'                                    
  813. run.RenderStepped:connect(function()
  814.    
  815.     for i,v in ipairs(Tabs) do
  816.    
  817.         v.CFrame = CFrame.new(Lerp.Vector3(v.CFrame.p,pp.Torso.Position,0.2))
  818.         * CFrame.Angles(sin((as)*i),rad((360/#Tabs) * i + rot* lol),sin((as)*i))
  819.         * CFrame.new(0,height,dist) -- how far away they are from the player. perphect.
  820.         -- Fancy schmancy bouncy tabs
  821.         if pp == nil then
  822.             pp = p.Character
  823.             end
  824.     end
  825.    
  826.     if rot < 360 then
  827.         rot = rot + 1
  828.     else
  829.         rot = 0
  830.     end
  831. end)
  832.    
  833.     p.Chatted:connect(function(msg)
  834.            if msg == "scatter" then
  835.                as = 20
  836.                
  837.                as1 = 20
  838.                end
  839.        end)
  840.  
  841.             p.Chatted:connect(function(msg)
  842.            if msg == "orbit" then
  843.                as = 0
  844.                
  845.                as1 = 0
  846.                end
  847.        end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement