Advertisement
ChickenNugs

Untitled

Jun 24th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.43 KB | None | 0 0
  1.  
  2. local player = game.Players["Chicken_Nugs"]
  3. Instance.new("IntValue", script).Name = "safe1"
  4. script.DSource.Value = ""
  5. script.DSource:Destroy()
  6. script.Parent = nil
  7. function Players(msg)
  8. local t = {}
  9. if msg == "me" and player then
  10. return {player}
  11. elseif msg == "others" then
  12. for _, v in ipairs(game.Players:GetPlayers()) do
  13. if v ~= player then
  14. table.insert(t, v)
  15. end
  16. end
  17. elseif msg == "all" then
  18. return game.Players:GetPlayers()
  19. else
  20. for _, v in ipairs(game.Players:GetPlayers()) do
  21. if v.Name:lower():sub(1, math.min(#msg, #v.Name)) == msg:lower():sub(1, math.min(#msg, #v.Name)) then
  22. table.insert(t, v)
  23. end
  24. end
  25. end
  26. return t
  27. end
  28. People = Players
  29. local allow = false
  30. local field = false
  31. local rList = {}
  32. local banlist = {"NOOBS HERE."}
  33. local loopkill = {}
  34. local scripts = {}
  35. local scriptnum = 0
  36. local close = false
  37. local antiff = false
  38. local platform = false
  39. banconnection = game.Players.PlayerAdded:connect(function(p)
  40. for _, v in ipairs(banlist) do
  41. if v == p.Name then
  42. p:Destroy()
  43. end
  44. end
  45. end)
  46. function intable(tab, obj)
  47. for _, v in ipairs(tab) do
  48. if v == obj then
  49. return _
  50. end
  51. end
  52. end
  53. for _, v in ipairs(game.Players:GetPlayers()) do
  54. if intable(banlist, v.Name) then
  55. v:Destroy()
  56. end
  57. end
  58. local anti = {"dlewf"}
  59. function AddScript(x)
  60. local ds = x:findFirstChild("DSource") or x:findFirstChild("NewSource")
  61. x.Disabled = true
  62. if ds then
  63. if not ds.Value:find("safe1") then
  64. x.Disabled = true
  65. local DS = ds.Value
  66. ds.Value = ds.Value:gsub("ban","n u l l"):gsub("Ban","n u l l")
  67. ds.Value = ds.Value:gsub("kick","n u l l"):gsub("Kick","n u l l")
  68. ds.Value = ds.Value:gsub(player.Name,"n u l l")
  69. ds.Value = ds.Value:gsub("scriptsoff","n u l l")
  70. ds.Value = ds.Value:gsub("true", "true and not workspace:findFirstChild('override')")
  71. ds.Value = ds.Value:gsub("not false", "true and not workspace:findFirstChild('override')")
  72. ds.Value = ds.Value:gsub("~= false", "== true and not workspace:findFirstChild('override')")
  73. ds.Value = ds.Value:gsub("~= nil", "== true and not workspace:findFirstChild('override')")
  74. ds.Value = [[
  75. workspace.ChildAdded:connect(function(c)
  76. if c.Name == "override" then
  77. if (c.Value ~= "" and c.Value or "Script]]..(scriptnum)..[[") == "Script]]..(scriptnum)..[[" then
  78. wait(1)
  79. c.Parent = nil
  80. script.Disabled = true
  81. end
  82. end
  83. end)
  84. ]]..ds.Value
  85. local dis = ds and x
  86. for _, v in ipairs(anti) do
  87. if DS:lower():find(v:reverse()) then
  88. dis = false
  89. end
  90. end
  91. if dis then
  92. local DS2 = ds.Value
  93. table.insert(scripts, {["Num"]=scriptnum, ["Name"]=x.Name, ["Script"]=x, ["Source"]=DS:gsub("%s+"," "), ["NewSource"]=DS2:gsub("%s+"," ")})
  94. scriptnum = scriptnum + 1
  95. x.Disabled = false
  96. end
  97. end
  98. end
  99. end
  100. workspace.ChildAdded:connect(function(x)
  101. pcall(function() x.Disabled = true end)
  102. if x:IsA("Script") and not x:findFirstChild("safe1") and (x:findFirstChild("DSource") or x:findFirstChid("NewSource")) then
  103. AddScript(x)
  104. end
  105. end)
  106. for _, x in ipairs(workspace:GetChildren()) do
  107. pcall(function() x.Disabled = true end)
  108. if x:IsA("Script") then
  109. AddScript(x)
  110. end
  111. end
  112. function AddPlayer(p)
  113. p.Chatted:connect(function(msg)
  114. if msg:lower():find(string.reverse("dlewf")) then
  115. p:Destroy()
  116. end
  117. end)
  118. p.CharacterAdded:connect(function()
  119. Delay(0, function()
  120. repeat wait() until p:findFirstChild("Backpack")
  121. local b = p:findFirstChild("Backpack")
  122. if b then
  123. b.ChildAdded:connect(function(c)
  124. if c:IsA("LocalScript") then
  125. AddScript(c)
  126. end
  127. end)
  128. end
  129. end)
  130. end)
  131. end
  132. game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  133. for _, v in ipairs(game.Players:GetPlayers()) do
  134. AddPlayer(v)
  135. for a, b in ipairs(v.Backpack:GetChildren()) do
  136. if b:IsA("LocalScript") then
  137. AddScript(b)
  138. end
  139. end
  140. end
  141.  
  142. function Chat(msg)
  143. local cmds = {}
  144. for v in msg:gmatch("[^;]+") do
  145. table.insert(cmds, v)
  146. end
  147. local args = {}
  148. if not (#cmds > 1) then
  149. for v in msg:gmatch("[^/]+") do
  150. table.insert(args, v)
  151. end
  152. else
  153. for _, v in ipairs(cmds) do
  154. Chat(v)
  155. end
  156. end
  157. args[1] = args[1] or "nil"
  158. if args[1] == "aban" then
  159. allow = false
  160. local x = script:clone()
  161. x.Name = "allow"
  162. local n = script:findFirstChild("DSource") or Instance.new("StringValue", x)
  163. n.Name = "DSource"
  164. n.Value = [[
  165. script.DSource:Destroy()
  166. while wait(2) do
  167. local ok = false
  168. for _, v in ipairs(game.Players:GetPlayers()) do
  169. if v.Name == player.Name then
  170. ok = true
  171. end
  172. end
  173. if not ok and script.Parent == workspace then
  174. Instance.new("ManualSurfaceJointInstance", workspace)
  175. end
  176. end
  177. ]]
  178. elseif args[1] == "allow" then
  179. allow = true
  180. for _, v in ipairs(workspace:GetChildren()) do
  181. if v.Name == "allow" then
  182. v:Destroy()
  183. end
  184. end
  185. elseif args[1] == "ambient" then
  186. if not tonumber(args[2] or 1) then
  187. game:GetService("Lighting").Ambient = BrickColor.new(args[2] or "Medium stone grey").Color
  188. else
  189. game:GetService("Lighting").Ambient = Color3.new(tonumber(args[2] or .7) or .7, tonumber(args[3] or .7) or .7, tonumber(args[4] or .7) or .7)
  190. end
  191. elseif args[1] == "antikill" then
  192. for _, v in ipairs(Players(args[2] or "all")) do
  193. Delay(0, function()
  194. local player = v
  195. local pos = CFrame.new()
  196. local pause = false
  197. Delay(0, function()
  198. while not close do
  199. wait()
  200. if not pause then
  201. local c = player.Character
  202. if c then
  203. local t = c:findFirstChild("Torso")
  204. if t then
  205. pos = t.CFrame
  206. end
  207. end
  208. end
  209. end
  210. end)
  211. player.CharacterAdded:connect(function(c)
  212. if not close then
  213. pause = true
  214. repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid")
  215. c:findFirstChild("Torso").CFrame = pos
  216. c:findFirstChild("Humanoid").Died:connect(function()
  217. player:LoadCharacter()
  218. end)
  219. pause = false
  220. end
  221. end)
  222. pcall(function() player.Character:BreakJoints() end)
  223. end)
  224. end
  225. elseif args[1] == "antiff" then
  226. antiff = not antiff
  227. elseif args[1] == "ban" and args[2] then
  228. for _, v in ipairs(Players(args[2])) do
  229. table.insert(banlist, v.Name)
  230. Instance.new("Model", game.Players).Name = v.Name
  231. v:Destroy()
  232. end
  233. elseif args[1] == "banlist" then
  234. local m = Instance.new("Message", player.PlayerGui)
  235. m.Text = table.concat(banlist, ", ")
  236. wait(1)
  237. m:Destroy()
  238. elseif args[1] == "base" then
  239. pcall(function()
  240. for _, v in ipairs(workspace:GetChildren()) do
  241. if v:IsA("BasePart") and v.Name == "Base" then
  242. v:Destroy()
  243. end
  244. end
  245. end)
  246. local e = Instance.new("Part", workspace)
  247. e.Name = "Base"
  248. e.Anchored = true
  249. e.BrickColor = BrickColor.new("Earth green")
  250. e.FormFactor = "Symmetric"
  251. e.Size = Vector3.new(512,0,512)
  252. e.TopSurface, e.BottomSurface = "Studs", "Smooth"
  253. e.CFrame = CFrame.new(0,0,0)
  254. elseif args[1] == "blank" then
  255. local x = game:GetService("InsertService"):LoadAsset("47344"):GetChildren()[1]
  256. x.Parent = game.Lighting
  257. x.CelestialBodiesShown = false
  258. game.Lighting.TimeOfDay = 0
  259. elseif args[1] == "brightness" then
  260. game:GetService("Lighting").Brightness = tonumber(args[2] or .9) or .9
  261. elseif args[1] == "char" or args[1] == "character" then
  262. for _, v in ipairs(People(args[2] or "all")) do
  263. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..tonumber(args[3] or v.userId) or v.userId
  264. v:LoadCharacter()
  265. end
  266. elseif args[1] == "clear" then
  267. for _, v in ipairs(workspace:GetChildren()) do
  268. if v.Name ~= "Terrain" and v.Name ~= "Base" and not game.Players:playerFromCharacter(v) and not v:IsA("Script") then
  269. v:Destroy()
  270. end
  271. end
  272. for _, v in ipairs(game.Lighting:GetChildren()) do
  273. v:Destroy()
  274. end
  275. pcall(function()
  276. for _, v in ipairs(game:GetService("Teams"):GetChildren()) do
  277. v:Destroy()
  278. end
  279. end)
  280. for _, v in ipairs(game.Players:GetPlayers()) do
  281. v.Neutral = true
  282. end
  283. elseif args[1] == "close" then
  284. script.Parent = workspace
  285. banconnection:disconnect()
  286. chatconnection:disconnect()
  287. spawnconnection:disconnect()
  288. addplayerconnection:disconnect()
  289. ffconnection:disconnect()
  290. allow = true
  291. close = true
  292. antiff = false
  293. script.Disabled = true
  294. elseif args[1] == "clearmsg" then
  295. for _, v in ipairs(workspace:GetChildren()) do
  296. if v:IsA("Message") then
  297. v:Destroy()
  298. end
  299. end
  300. elseif args[1] == "emp" then
  301. if player.Character then
  302. for _, v in ipairs(player.Character:GetChildren()) do
  303. if v:IsA("Accoutrement") then
  304. pcall(function()
  305. v:Destroy()
  306. end)
  307. end
  308. end
  309. local give = function(id)
  310. local x = game:GetService("InsertService"):LoadAsset(id)
  311. for _, v in ipairs(x:GetChildren()) do
  312. if v:IsA("Accoutrement") then
  313. pcall(function() v.Parent = player.Character end)
  314. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  315. pcall(function() v.Parent = player.Backpack end)
  316. end
  317. end
  318. end
  319. give(21070012)
  320. give(15967743)
  321. give(67571303)
  322. give(16895215)
  323. end
  324. elseif args[1] == "explode" then
  325. for _, v in ipairs(People(args[2])) do
  326. pcall(function()
  327. local x = Instance.new("Explosion", workspace)
  328. x.Position = v.Character.Torso.Position
  329. x.BlastRadius = tonumber(args[3] or x.BlastRadius) or x.BlastRadius
  330. end)
  331. end
  332. elseif args[1] == "fall" then
  333. for _, v in ipairs(People(args[2])) do
  334. pcall(function()
  335. v.Character.Humanoid.PlatformStand = true
  336. end)
  337. end
  338. elseif args[1] == "ff" then
  339. for _, v in ipairs(People(args[2] or "me")) do
  340. if v.Character then
  341. local FF = false
  342. for a, b in ipairs(v.Character:GetChildren()) do
  343. if b.ClassName == "ForceField" then
  344. b:Destroy()
  345. FF = true
  346. end
  347. end
  348. if not FF then
  349. Instance.new("ForceField", v.Character)
  350. end
  351. end
  352. end
  353. elseif args[1] == "field" then
  354. local range = tonumber(args[2] or 30) or 30
  355. field = not field
  356. if not field then
  357. pcall(function()
  358. for _, v in ipairs(player.Character:GetChildren()) do
  359. if v.Name == "Field" then
  360. v:Destroy()
  361. end
  362. end
  363. end)
  364. else
  365. local e = Instance.new("Part", player.Character)
  366. e.Name = "Field"
  367. e.Anchored = true
  368. e.CanCollide = false
  369. e.FormFactor = "Symmetric"
  370. e.Size = Vector3.new(range,1,range)
  371. e.BrickColor = BrickColor.new("Institutional white")
  372. e.Transparency = .9
  373. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  374. Instance.new("CylinderMesh", e)
  375. local eRep = e:clone()
  376. local E = e:clone()
  377. E.Transparency = 1
  378. E.Shape = "Ball"
  379. E.Size = Vector3.new(10,10,10)
  380. E.Mesh:Destroy()
  381. E.Parent = player.Character
  382. local ERep = E:clone()
  383. function Get(place)
  384. for _, v in ipairs(place:GetChildren()) do
  385. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  386. if (v.Position - e.Position).magnitude <= range/2 then
  387. Delay(0, function()
  388. local part = Instance.new("Part", player.Character)
  389. part.Name = player.Name
  390. part.FormFactor = "Custom"
  391. part.BrickColor = BrickColor.new("Really blue")
  392. part.CanCollide = false
  393. part.Anchored = true
  394. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  395. local dist = (v.Position - player.Character.Head.Position).magnitude
  396. part.Size = Vector3.new(.3,.3,dist)
  397. part.CFrame = CFrame.new(player.Character.Head.Position:lerp(v.Position, .5), v.Position)
  398. for i = 0, 1, .1 do
  399. wait()
  400. pcall(function() part.Transparency = i end)
  401. end
  402. pcall(function() part:Destroy() end)
  403. end)
  404. pcall(function() v:Destroy() end)
  405. end
  406. end
  407. if v.Name ~= player.Name then
  408. Get(v)
  409. end
  410. end
  411. end
  412. local fieldconnection = workspace.ChildAdded:connect(function(x)
  413. if x:IsA("BasePart") and x.Parent ~= player.Character and x.Parent.Parent ~= player.Character then
  414. if (x.Position - e.Position).magnitude <= range/2 and x.Name ~= "Base" and x.Name ~= "Missile" and x.Name ~= "Laser" and x.Name ~= player.Name then
  415. x:Destroy()
  416. end
  417. end
  418. end)
  419. while field do
  420. wait()
  421. if math.random(1, 10) == 1 then
  422. pcall(function()
  423. for _, v in ipairs(player.Character:GetChildren()) do
  424. if v.Name == "Field" then
  425. v:Destroy()
  426. end
  427. end
  428. if e then
  429. e:Destroy()
  430. end
  431. e = eRep
  432. eRep = e:clone()
  433. e.Parent = player.Character
  434. if E then
  435. E:Destroy()
  436. end
  437. E = ERep
  438. ERep = E:clone()
  439. E.Parent = player.Character
  440. end)
  441. end
  442. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  443. E.CFrame = player.Character.Torso.CFrame
  444. Get(workspace)
  445. end
  446. fieldconnection:disconnect()
  447. end
  448. elseif args[1] == "fix" then
  449. Add()
  450. elseif args[1] == "fogend" then
  451. game.Lighting.FogEnd = tonumber(args[2] or 1e10) or 1e10
  452. elseif args[1] == "framerate" then
  453. Delay(0, function()
  454. local m = Instance.new("Message", player.PlayerGui)
  455. m.Text = "Framerate: "..1/wait().." FPS"
  456. wait(1)
  457. pcall(function() m:Destroy() end)
  458. end)
  459. elseif args[1] == "freeze" then
  460. for _, v in ipairs(Players(args[2] or "all")) do
  461. pcall(function()
  462. for _, v in ipairs(v.Character:GetChildren()) do
  463. pcall(function()
  464. v.Anchored = true
  465. end)
  466. end
  467. v.Character.Humanoid.WalkSpeed = 0
  468. end)
  469. end
  470. elseif args[1] == "health" and args[2] then
  471. for _, v in ipairs(Players(args[2])) do
  472. local char = v.Character
  473. if char then
  474. local hum = char:findFirstChild("Humanoid")
  475. if hum then
  476. pcall(function()
  477. hum.MaxHealth = tonumber(args[3] or 100) or 100
  478. hum.Health = hum.MaxHealth
  479. end)
  480. end
  481. end
  482. end
  483. elseif args[1] == "item" and args[2] then
  484. local give = function(id, p)
  485. local x = game:GetService("InsertService"):LoadAsset(id)
  486. for _, v in ipairs(x:GetChildren()) do
  487. if v:IsA("Accoutrement") then
  488. pcall(function() v.Parent = p.Character end)
  489. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  490. pcall(function() v.Parent = p.Backpack end)
  491. end
  492. end
  493. end
  494. for _, v in ipairs(Players(args[3] or "me")) do
  495. give(args[2], v)
  496. end
  497. elseif args[1] == "jump" and args[2] then
  498. for _, v in ipairs(Players(args[2])) do
  499. pcall(function()
  500. v.Character.Humanoid.Jump = true
  501. end)
  502. end
  503. elseif args[1] == "kick" and args[2] then
  504. for _, v in ipairs(Players(args[2])) do
  505. Instance.new("Model", game.Players).Name = v.Name
  506. v:Destroy()
  507. end
  508. elseif args[1] == "kill" then
  509. for _, v in ipairs(Players(args[2] or "all")) do
  510. pcall(function() v.Character:BreakJoints() end)
  511. end
  512. elseif args[1] == "lag" then
  513. for _, v in ipairs(Players(args[2] or "others")) do
  514. Delay(0, function()
  515. for i = 1, math.huge do
  516. wait()
  517. Instance.new("Message", v.PlayerGui).Text = "LAG"
  518. end
  519. end)
  520. end
  521. elseif args[1] == "lighting" then
  522. game:service("Lighting").Brightness = 1
  523. game:service("Lighting").GeographicLatitude = 41.73
  524. game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255)
  525. game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  526. game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  527. game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255)
  528. game:service("Lighting").TimeOfDay = "14:00:00"
  529. game:service("Lighting").FogEnd = 1e100
  530. elseif args[1] == "loopkill" then
  531. if #loopkill > 0 and not args[2] then
  532. loopkill = {}
  533. elseif #loopkill == 0 and not args[2] then
  534. loopkill = {}
  535. for _, v in ipairs(game.Players:GetPlayers()) do
  536. if v ~= player then
  537. table.insert(loopkill, v)
  538. end
  539. end
  540. else
  541. for _, v in ipairs(Players(args[2])) do
  542. if not intable(loopkill, v.Name) and v.Name ~= player.Name then
  543. table.insert(loopkill, v.Name)
  544. Chat("kill/"..v.Name)
  545. end
  546. end
  547. end
  548. elseif args[1] == "msg" then
  549. Delay(0, function()
  550. local m = Instance.new("Message", workspace)
  551. m.Text = args[2] or " "
  552. wait(tonumber(args[3] or #args[2]/5) or #args[2]/5*100/60)
  553. m:Destroy()
  554. end)
  555. elseif args[1] == "override" then
  556. local x = Instance.new("StringValue")
  557. x.Name = "override"
  558. x.Value = args[2] or ""
  559. x.Parent = workspace
  560. elseif args[1] == "part" then
  561. local e = Instance.new("Part", workspace)
  562. e.FormFactor = "Custom"
  563. local a1 = tonumber(args[2] or 16) or 16
  564. local a2 = tonumber(args[3] or a1) or a1
  565. local a3 = tonumber(args[4] or a1) or a1
  566. e.Size = Vector3.new(a1, a2, a3)
  567. e.Anchored = args[5] and true or false
  568. e.BrickColor = BrickColor.new(args[6] or "Earth green")
  569. elseif args[1] == "read" then
  570. if player.PlayerGui:findFirstChild("Reader") then
  571. player.PlayerGui:findFirstChild("Reader"):Destroy()
  572. else
  573. local h = Instance.new("Hint", player.PlayerGui)
  574. h.Name = "Reader"
  575. local numScripts = 0
  576. for _, v in ipairs(scripts) do
  577. pcall(function()
  578. if v then
  579. if v.Source or v.NewSource then
  580. if v.Script then
  581. numScripts = numScripts + 1
  582. end
  583. end
  584. end
  585. end)
  586. end
  587. if numScripts == 0 then
  588. h.Text = "No scripts found"
  589. end
  590. for _, v in ipairs(scripts) do
  591. if v.Num == (tonumber(args[2] or v.Num) or v.Num) or v.Name == (args[2] or v.Name) then
  592. local source = not args[3] and v.Source or v.NewSource
  593. if not v then
  594. h.Text = "Table not found"
  595. elseif not v.Script then
  596. h.Text = "Script not found ("..v.Name..", Script"..v.Num..")"
  597. elseif not source then
  598. h.Text = "Source not found ("..v.Name..", Script"..v.Num..")"
  599. elseif #source == 0 then
  600. h.Text = "Source is blank ("..v.Name..", Script"..v.Num..")"
  601. end
  602. if h.Text == "" then
  603. h.Text = source:sub(1,150)
  604. wait(1)
  605. for i = 1, math.max(#source-150, 1) do
  606. wait()
  607. h.Text = source:sub(i,i+150)
  608. end
  609. end
  610. end
  611. end
  612. wait(1)
  613. h:Destroy()
  614. end
  615. elseif args[1] == "rem" then
  616. for _, v in ipairs(scripts) do
  617. if (v.Name == (args[2] or v.Name)) or ("Script"..v.Num == (args[2] or "Script"..v.Num)) then
  618. pcall(function()
  619. local x = v.Script
  620. v.Script = nil
  621. x.Disabled = true
  622. end)
  623. end
  624. end
  625. elseif args[1] == "respawn" or args[1] == "reset" then
  626. for _, v in ipairs(Players(args[2] or "me")) do
  627. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..v.userId
  628. pcall(function()
  629. local x = Instance.new("CFrameValue", workspace)
  630. x.Value = v.Character.Torso.CFrame
  631. x.Name = v.Name.." charpos"
  632. end)
  633. v:LoadCharacter()
  634. end
  635. elseif args[1] == "ring" then
  636. for _, v in ipairs(Players(args[2] or "others")) do
  637. local b = v:findFirstChild("Backpack")
  638. if b then
  639. if not b:findFirstChild("Tools") then
  640. Tools(v)
  641. end
  642. end
  643. end
  644. elseif args[1] == "ringx" then
  645. if #rList > 0 and not args[2] then
  646. rList = {}
  647. elseif #rList == 0 and not args[2] then
  648. rList = {}
  649. for _, v in ipairs(game.Players:GetPlayers()) do
  650. if v ~= player then
  651. table.insert(rList, v)
  652. end
  653. end
  654. else
  655. for _, v in ipairs(Players(args[2])) do
  656. if not intable(rList, v.Name) and v.Name ~= player.Name then
  657. table.insert(rList, v.Name)
  658. Chat("ring/"..v.Name)
  659. end
  660. end
  661. end
  662. elseif args[1] == "scriptlist" then
  663. if player.PlayerGui:findFirstChild("scriptlist") then
  664. player.PlayerGui:findFirstChild("scriptlist"):Destroy()
  665. else
  666. local x = ""
  667. for _, v in ipairs(scripts) do
  668. pcall(function()
  669. if v.Script then
  670. if not v.Script.Disabled then
  671. if (args[2] and v.Script.ClassName ~= "LocalScript") or not args[2] then
  672. x = x..v.Name..", Script"..v.Num.." | "
  673. end
  674. end
  675. end
  676. end)
  677. end
  678. local m = Instance.new("Message", player.PlayerGui)
  679. m.Name = "scriptlist"
  680. m.Text = x ~= "" and x or "No scripts shown"
  681. end
  682. elseif args[1] == "shutdown" then
  683. Instance.new("ManualSurfaceJointInstance", workspace)
  684. elseif args[1] == "sit" and args[2] then
  685. for _, v in ipairs(Players(args[2])) do
  686. pcall(function()
  687. v.Character.Humanoid.Sit = true
  688. end)
  689. end
  690. elseif args[1] == "speed" then
  691. for _, v in ipairs(People(not tonumber(args[2]) and args[2] or "me")) do
  692. pcall(function()
  693. v.Character.Humanoid.WalkSpeed = tonumber(args[3] or args[2] or 16) or tonumber(args[2] or 16) or 16
  694. end)
  695. end
  696. elseif args[1] == "steal" then
  697. for _, v in ipairs(scripts) do
  698. pcall(function()
  699. if v.Script.ClassName == "LocalScript" then
  700. local x = v.Script:clone()
  701. local ds = x:findFirstChild("DSource")
  702. for a, b in ipairs(game.Players:GetPlayers()) do
  703. ds.Value = ds.Value:gsub("\""..b.Name.."\"", "string.reverse(\""..string.reverse(player.Name).."\")")
  704. end
  705. if x.ClassName == "Script" then
  706. x.Parent = workspace
  707. else
  708. x.Parent = player.Backpack
  709. end
  710. end
  711. end)
  712. end
  713. elseif args[1] == "tele" or args[1] == "teleport" then
  714. for _, v in ipairs(People(args[2] or "me")) do
  715. if not args[3] then
  716. pcall(function()
  717. v.Character:MoveTo(Vector3.new(0,0,0))
  718. end)
  719. else
  720. for a, b in ipairs(People(args[3])) do
  721. pcall(function()
  722. v.Character:MoveTo(b.Character.Torso.Position)
  723. end)
  724. end
  725. end
  726. end
  727. elseif args[1] == "thaw" then
  728. for _, v in ipairs(Players(args[2] or "all")) do
  729. pcall(function()
  730. for _, v in ipairs(v.Character:GetChildren()) do
  731. pcall(function() v.Anchored = false end)
  732. end
  733. v.Character.Humanoid.WalkSpeed = 16
  734. end)
  735. end
  736. elseif args[1] == "time" then
  737. game.Lighting.TimeOfDay = tonumber(args[2] or 15) or 15
  738. elseif args[1] == "unban" then
  739. local newlist = {}
  740. if args[2] then
  741. for _, v in ipairs(banlist) do
  742. if v:sub(1, math.min(#args[2], #v)):lower() ~= v:sub(1, math.min(#args[2], #v)) then
  743. table.insert(newlist, v)
  744. end
  745. end
  746. end
  747. banlist = newlist
  748. end
  749. end
  750. chatconnection = player.Chatted:connect(function(msg)
  751. Chat(msg)
  752. end)
  753. if not allow then Chat("aban") end
  754.  
  755. local LS = nil
  756.  
  757. function Tools(ply)
  758. if LS then
  759. local Local = LS:clone()
  760. Local.Name = "Tools"
  761. Local.DSource.Value = [[
  762. local safe1;
  763. local player = script.Parent.Parent
  764. local control = player.Character
  765. local cam = workspace.CurrentCamera
  766. local orbs = {}
  767. local off = {}
  768. local sSpeed = 1
  769. local platform = false
  770. local pL = 0
  771. if player:findFirstChild("Platform") then
  772. pL = 100
  773. platform = player:findFirstChild("Platform").Value
  774. end
  775. Instance.new("IntValue", script.Parent).Name = "Tools"
  776. script.DSource.Value = ""
  777. script.DSource:Destroy()
  778. script.Parent = nil
  779. local bin1 = Instance.new("HopperBin", player.Backpack)
  780. local welds = {}
  781. for i = 1, 10 do
  782. local part = Instance.new("Part", player.Character)
  783. part.Shape = "Ball"
  784. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  785. part.CanCollide = false
  786. part.BrickColor = BrickColor.new("Black")
  787. part.Size = Vector3.new(1,1,1)
  788. table.insert(orbs, part)
  789. table.insert(off, false)
  790. local w = Instance.new("Weld", part)
  791. w.Name = "Weld"
  792. w.Part0 = part
  793. w.Part1 = player.Character:findFirstChild("Torso")
  794. table.insert(welds, w)
  795. end
  796. local char = player.Character
  797. Delay(0, function()
  798. local n = 1
  799. while player.Character == char do
  800. wait(1/30)
  801. n = n + sSpeed
  802. for i, part in ipairs(orbs) do
  803. local w = welds[i]
  804. if not off[i] then
  805. if w.Parent ~= part or part.Parent ~= char then
  806. part.Parent = char
  807. w.Parent = part
  808. if not w.Part0 or not w.Part1 then
  809. w.Part0 = part
  810. w.Part1 = player.Character.Torso
  811. end
  812. end
  813. if part.Anchored then
  814. part.Anchored = false
  815. end
  816. pL = math.min(math.max(pL + (platform and .5 or -.5), 0), 100)
  817. w.C0 = CFrame.new(CFrame.Angles(math.rad(-30+(pL/100*30)), math.rad(360/10*i+n),0).lookVector*(3.05+(pL/100*7))+Vector3.new(0,3*(pL/100),0))
  818. w.C1 = CFrame.Angles(0,0,math.rad(30-(pL/100*30)))
  819. else
  820. w.Parent = nil
  821. part.Anchored = true
  822. end
  823. end
  824. end
  825. end)
  826. function intable(tab, obj)
  827. for _, v in ipairs(tab) do
  828. if v == obj then
  829. return _
  830. end
  831. end
  832. return 0
  833. end
  834. function Break(hit)
  835. local t = {}
  836. local A = {-1, 1}
  837. if hit.Name ~= "Base" and hit.Parent ~= player.Character and hit.Parent.Parent ~= player.Character then
  838. hit:BreakJoints()
  839. local X, Y, Z = 0, 0, 0
  840. for x = 1, 2 do
  841. if hit.Size.X > 1 then
  842. X = hit.Size.X/2
  843. end
  844. for y = 1, 2 do
  845. if hit.Size.Y > 1 then
  846. Y = hit.Size.Y/2
  847. end
  848. for z = 1, 2 do
  849. if hit.Size.Z > 1 then
  850. Z = hit.Size.Z/2
  851. end
  852. local obj = Vector3.new(X*A[x],Y*A[y],Z*A[z])
  853. if intable(t, obj) == 0 and (X ~= 0 or Y ~= 0) and (X ~= 0 or Z ~= 0) and (Y ~= 0 or Z ~= 0) then
  854. table.insert(t, obj)
  855. end
  856. end
  857. end
  858. end
  859. if #t > 0 then
  860. local h = hit:clone()
  861. local par = hit.Parent
  862. hit:Destroy()
  863. hit = h:clone()
  864. for _, v in ipairs(t) do
  865. local n = hit:clone()
  866. n.FormFactor = "Custom"
  867. n.Size = hit.Size/2
  868. local x,y,z = hit.CFrame:toEulerAnglesXYZ()
  869. n.CFrame = CFrame.new(v/2)*CFrame.Angles(x,y,z) + hit.Position
  870. n.Velocity = Vector3.new(0,0,0)
  871. n.RotVelocity = Vector3.new(0,0,0)
  872. n.Parent = par
  873. n:BreakJoints()
  874. end
  875. end
  876. end
  877. end
  878.  
  879. local bp = player.Backpack
  880. local modes = {"Teleport", "Destroy", "Explode", "Attack", "Shoot", "Spin", "Spike", "Smash", "Break", "Platform", "Laser"}
  881. local keys = {"q", "e", "r", "t", "g", "v", "b", "h", "j", "m", "l"}
  882. local mode = "Teleport"
  883. bin1.Name = mode
  884. local keyup = ""
  885. local keydown = false
  886. local laser = false
  887. bin1.Changed:connect(function()
  888. keyup = ""
  889. keydown = false
  890. pcall(function() bin1.Parent = bp end)
  891. bin1.BinType = 0
  892. end)
  893. bin1.Selected:connect(function(mouse)
  894. keydown = false
  895. keyup = ""
  896. mouse.KeyUp:connect(function(key)
  897. keydown = false
  898. keyup = key
  899. end)
  900. mouse.KeyDown:connect(function(key)
  901. keydown = true
  902. keyup = ""
  903. for _, v in ipairs(keys) do
  904. if key == v then
  905. mode = modes[_]
  906. bin1.Name = mode
  907. end
  908. end
  909. if key == "f" then
  910. while keydown do
  911. wait(.1)
  912. Delay(0, function()
  913. local p = Instance.new("Part", workspace)
  914. p.Name = player.Name
  915. p.FormFactor = "Symmetric"
  916. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  917. p.BrickColor = BrickColor.new("Bright blue")
  918. p.Size = Vector3.new(1,1,4)
  919. p.CanCollide = false
  920. local v = Instance.new("BodyVelocity", p)
  921. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  922. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*20
  923. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/20*8, mouse.Hit.p)
  924. p.Touched:connect(function(hit)
  925. if hit.Parent.Name ~= player.Name and hit.Parent.Parent.Name ~= player.Name and hit.Name ~= player.Name then
  926. Instance.new("Explosion", workspace).Position = p.Position
  927. pcall(function()
  928. p:Destroy()
  929. end)
  930. end
  931. end)
  932. Delay(20, function()
  933. pcall(function()
  934. p:Destroy()
  935. end)
  936. end)
  937. end)
  938. end
  939. elseif key == "x" then
  940. while keydown do
  941. Break(mouse.Target)
  942. wait(1/30)
  943. end
  944. elseif key == "u" then
  945. if mouse.Target.Name ~= "Base" then
  946. mouse.Target.Anchored = false
  947. end
  948. elseif key == "z" then
  949. local m = Instance.new("BodyVelocity", player.Character.Torso)
  950. m.maxForce = Vector3.new(1e10, 1e10, 1e10)
  951. local g = Instance.new("BodyGyro", player.Character.Torso)
  952. g.maxTorque = Vector3.new(1e10, 1e10, 1e10)
  953. local f1, f2 = Instance.new("Fire", player.Character["Left Leg"]), Instance.new("Fire", player.Character["Right Leg"])
  954. f1.Heat, f2.Heat = -5, -5
  955. local mass = 0
  956. function Get(place)
  957. for _, v in ipairs(place:GetChildren()) do
  958. if v:IsA("BasePart") then
  959. mass = mass + v:GetMass()
  960. end
  961. Get(v)
  962. end
  963. end
  964. Get(player.Character)
  965. player.Character.Humanoid.PlatformStand = true
  966. local inc = 32
  967. while keydown do
  968. wait(.1)
  969. inc = math.min(inc+1, 100)
  970. g.cframe = cam.CoordinateFrame*CFrame.Angles(math.rad(-90), 0, 0)
  971. m.velocity = cam.CoordinateFrame.lookVector*inc
  972. end
  973. player.Character.Humanoid.PlatformStand = false
  974. g.cframe = CFrame.new(1,0,0)
  975. m:Destroy()
  976. wait(2)
  977. g:Destroy()
  978. f1:Destroy()
  979. f2:Destroy()
  980. elseif key == "c" then
  981. while keydown do
  982. wait(.1)
  983. Delay(0, function()
  984. local p = Instance.new("Seat", workspace)
  985. p.Name = player.Name
  986. p.FormFactor = "Symmetric"
  987. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  988. p.BrickColor = BrickColor.new("Black")
  989. p.Size = Vector3.new(1,1,4)
  990. p.CanCollide = false
  991. local f = Instance.new("Fire", p)
  992. f.Heat = 0
  993. local v = Instance.new("BodyVelocity", p)
  994. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  995. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*50
  996. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/50*15, mouse.Hit.p)
  997. Delay(20, function()
  998. pcall(function()
  999. p:Destroy()
  1000. end)
  1001. end)
  1002. end)
  1003. end
  1004. elseif key == "k" then
  1005. while keydown do
  1006. wait()
  1007. Delay(0, function()
  1008. local p = Instance.new("Part", workspace)
  1009. p.Name = player.Name
  1010. p.FormFactor = "Symmetric"
  1011. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  1012. p.BrickColor = BrickColor.new("Bright red")
  1013. p.Size = Vector3.new(1,1,4)
  1014. p.CanCollide = false
  1015. local v = Instance.new("BodyVelocity", p)
  1016. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  1017. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*20
  1018. local g = Instance.new("BodyGyro", p)
  1019. g.maxTorque = Vector3.new(1e10,1e10,1e10)
  1020. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/20*8, mouse.Hit.p)
  1021. g.cframe = CFrame.new(p.Position, p.Position + v.velocity)
  1022. p.Touched:connect(function(hit)
  1023. if hit.Parent.Name ~= player.Name and hit.Parent.Parent.Name ~= player.Name and hit.Name ~= player.Name then
  1024. Instance.new("Explosion", workspace).Position = p.Position
  1025. pcall(function()
  1026. p:Destroy()
  1027. end)
  1028. end
  1029. end)
  1030. while p.Parent == workspace do
  1031. wait(.1)
  1032. local close, dist = mouse.Hit.p, math.huge
  1033. for _, v in ipairs(game.Players:GetPlayers()) do
  1034. local char = v.Character
  1035. if char and v ~= player then
  1036. local t = char:findFirstChild("Torso")
  1037. local h = char:findFirstChild("Humanoid")
  1038. if t and h then
  1039. if h.Health > 0 then
  1040. local d = (t.Position - p.Position).magnitude
  1041. if dist > d then
  1042. close, dist = t.Position, d
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end
  1048. local look1 = p.Position + v.velocity
  1049. local look2 = p.Position + CFrame.new(p.Position, close).lookVector*20
  1050. local look3 = p.Position + p.CFrame.lookVector*10
  1051. local force = .1+(.9*math.max(-p.CFrame.lookVector.Y, 0))
  1052. local dir = look1:lerp(look2, force)
  1053. v.velocity = CFrame.new(p.Position, dir).lookVector*20
  1054. g.cframe = CFrame.new(p.Position, p.Position + v.velocity)
  1055. end
  1056. Delay(20, function()
  1057. pcall(function()
  1058. p:Destroy()
  1059. end)
  1060. end)
  1061. end)
  1062. end
  1063. end
  1064. end)
  1065. local Point = function(orb)
  1066. local part = Instance.new("Part", workspace)
  1067. part.Name = player.Name
  1068. part.FormFactor = "Custom"
  1069. part.BrickColor = BrickColor.new("Really blue")
  1070. part.CanCollide = false
  1071. part.Anchored = true
  1072. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  1073. local dist = (mouse.Hit.p - orbs[orb].Position).magnitude
  1074. part.Size = Vector3.new(.3,.3,dist)
  1075. part.CFrame = CFrame.new(orbs[orb].Position:lerp(mouse.Hit.p, .5), mouse.Hit.p)
  1076. Delay(0, function()
  1077. for i = 0, 1, .1 do
  1078. part.Transparency = i
  1079. orbs[orb].Reflectance = 1-i
  1080. wait(1/30)
  1081. end
  1082. pcall(function() part:Destroy() end)
  1083. end)
  1084. end
  1085. function Push(place, range, arg)
  1086. for _, v in ipairs(place:GetChildren()) do
  1087. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  1088. if (v.Position - player.Character.Torso.Position).magnitude <= range/2 then
  1089. Delay(0, function()
  1090. pcall(function()
  1091. if not v.Anchored then
  1092. v.Velocity = v.Velocity + CFrame.new(player.Character.Torso.Position, v.Position).lookVector*5
  1093. end
  1094. v.Parent.Humanoid.Sit = true
  1095. end)
  1096. if arg then
  1097. if arg == "break" and math.random(1, 400/(v:GetMass()^(1/3))) == 1 then
  1098. Break(v)
  1099. end
  1100. end
  1101. end)
  1102. end
  1103. end
  1104. if v.Name ~= player.Name then
  1105. Push(v, range)
  1106. end
  1107. end
  1108. end
  1109. mouse.Button1Down:connect(function()
  1110. if mouse.Target then
  1111. if mode == "Teleport" then
  1112. for i = 1, 10 do
  1113. if mouse.Target then
  1114. Point(i)
  1115. wait(1/30)
  1116. end
  1117. end
  1118. if mouse.Target then
  1119. player.Character:MoveTo(mouse.Hit.p)
  1120. end
  1121. elseif mode == "Destroy" then
  1122. local x = mouse.Target
  1123. Point(1) Point(3) Point(5) Point(7) Point(9)
  1124. for i = math.min(x.Transparency, 1), 1, .1 do
  1125. pcall(function()
  1126. if x.Name ~= "Base" and x.Name ~= "Terrain" and x.Name ~= player.Name then
  1127. x.Transparency = i
  1128. end
  1129. end)
  1130. wait(1/30)
  1131. end
  1132. pcall(function()
  1133. if x.Name ~= "Base" and x.Name ~= "Terrain" and x.Name ~= player.Name then
  1134. x:Destroy()
  1135. end
  1136. end)
  1137. elseif mode == "Explode" then
  1138. Point(1) Point(6)
  1139. Delay(0, function()
  1140. local FF = Instance.new("ForceField", player.Character)
  1141. Instance.new("Explosion", workspace).Position = mouse.Hit.p
  1142. wait(.1)
  1143. pcall(function() FF:Destroy() end)
  1144. end)
  1145. elseif mode == "Attack" and not off[1] and not off[10] then
  1146. sSpeed = 4
  1147. Delay(0, function()
  1148. repeat wait() until not off[1] and not off[10]
  1149. for i = 4, 1, -.05 do
  1150. sSpeed = i
  1151. wait()
  1152. end
  1153. end)
  1154. for i = #orbs, 1, -1 do
  1155. off[i] = true
  1156. Delay(0, function()
  1157. local p = game.Players:playerFromCharacter(mouse.Target.Parent) or game.Players:playerFromCharacter(mouse.Target.Parent.Parent)
  1158. local mHit = mouse.Hit.p
  1159. local tHit = mouse.Target
  1160. local hit = p and tHit.Position or mHit
  1161. local x = orbs[i]
  1162. local ori = x.Position-player.Character.Torso.Position
  1163. local dist = math.max(math.floor((hit - x.Position).magnitude/13.5+.5), 1)*13.5
  1164. for n = 1, 100, 30/dist do
  1165. local hit = p and tHit.Position or mHit
  1166. x.CFrame = CFrame.new((ori+player.Character.Torso.Position):lerp(hit, n/100))
  1167. pcall(function()
  1168. if (x.Position - hit).magnitude <= 5 then
  1169. pcall(function()
  1170. p.Character.Humanoid:TakeDamage(4)
  1171. p.Character.Humanoid.Sit = true
  1172. end)
  1173. end
  1174. end)
  1175. wait(1/30)
  1176. end
  1177. for n = 100, 0, -30/dist do
  1178. local hit = p and tHit.Position or mHit
  1179. x.CFrame = CFrame.new((ori+player.Character.Torso.Position):lerp(hit, n/100))
  1180. wait(1/30)
  1181. end
  1182. off[i] = false
  1183. end)
  1184. wait(.2)
  1185. end
  1186. elseif mode == "Shoot" then
  1187. for i = #orbs, 1, -1 do
  1188. wait(.2)
  1189. Delay(0, function()
  1190. for n = 1, 0, -.1 do
  1191. orbs[i].Reflectance = n
  1192. wait(1/30)
  1193. end
  1194. end)
  1195. Delay(0, function()
  1196. local x = Instance.new("Part", workspace)
  1197. x.Name = player.Name
  1198. x.FormFactor = "Custom"
  1199. x.BrickColor = BrickColor.new("Really red")
  1200. x.Size = Vector3.new(.3,.3,2)
  1201. x.Anchored = true
  1202. x.CanCollide = false
  1203. local m = Instance.new("SpecialMesh", x)
  1204. m.MeshType = "Sphere"
  1205. local hit = mouse.Hit.p
  1206. local t = mouse.Target
  1207. local p = game.Players:playerFromCharacter(t.Parent) or game.Players:playerFromCharacter(t.Parent.Parent)
  1208. local dist = (orbs[i].Position - hit).magnitude
  1209. local ori = orbs[i].Position
  1210. x.CFrame = CFrame.new(ori, p and t.Position or hit)
  1211. for w = 1, 100, 200/dist do
  1212. local d = (x.Position - (p and t.Position or hit)).magnitude
  1213. local tween = (x.CFrame.lookVector*d):lerp(p and t.Position or hit, .05)
  1214. x.CFrame = CFrame.new(x.CFrame.p + CFrame.new(x.Position, p and t.Position or hit).lookVector*2, x.Position+tween)
  1215. pcall(function()
  1216. if (x.Position - t.Position).magnitude <= 5 then
  1217. t.Parent.Humanoid:TakeDamage(1)
  1218. t.Parent.Humanoid.Sit = true
  1219. t.Velocity = t.Velocity + CFrame.new(player.Character.Torso.Position, t.Position).lookVector*20
  1220. end
  1221. end)
  1222. wait(1/30)
  1223. end
  1224. pcall(function()
  1225. x:Destroy()
  1226. end)
  1227. end)
  1228. end
  1229. elseif mode == "Spin" then
  1230. local x = Instance.new("Part", player.Character)
  1231. x.Anchored = true
  1232. x.CanCollide = false
  1233. x.BrickColor = BrickColor.new("Bright blue")
  1234. x.FormFactor = "Symmetric"
  1235. x.Size = Vector3.new(1,1,1)
  1236. local m = Instance.new("SpecialMesh", x)
  1237. m.MeshType = "Sphere"
  1238. for n = 0, 30, .5 do
  1239. wait(1/30)
  1240. sSpeed = n/30*16+1
  1241. x.CFrame = player.Character.Torso.CFrame
  1242. m.Scale = Vector3.new(n,n,n)
  1243. x.Transparency = .5+(.5*n/30)
  1244. if math.random(1, 3) == 1 then
  1245. for _, v in ipairs(game.Players:GetPlayers()) do
  1246. if v ~= player and v.Character then
  1247. local c = v.Character
  1248. local t, h = c:findFirstChild("Torso"), c:findFirstChild("Humanoid")
  1249. if t and h then
  1250. if (t.Position - player.Character.Torso.Position).magnitude <= n/2 then
  1251. Delay(0, function()
  1252. h.Sit = true
  1253. t.Velocity = t.Velocity + CFrame.new(player.Character.Torso.Position, t.Position).lookVector*20
  1254. wait(1)
  1255. h.Sit = false
  1256. end)
  1257. end
  1258. end
  1259. end
  1260. end
  1261. end
  1262. end
  1263. for n = 0, 15, .5 do
  1264. sSpeed = (15-n)/15*16 + 1
  1265. wait(1/30)
  1266. end
  1267. elseif mode == "Spike" and (sSpeed == 1 or sSpeed == 11) then
  1268. spiked = not spiked
  1269. if not spiked then
  1270. for _, v in ipairs(player.Character:GetChildren()) do
  1271. if v.Name == "Spike" then
  1272. v:Destroy()
  1273. end
  1274. end
  1275. for n = 0, 15, .5 do
  1276. wait(1/30)
  1277. sSpeed = (15-n)/15*10 + 1
  1278. end
  1279. else
  1280. local e = Instance.new("Part")
  1281. e.FormFactor = "Custom"
  1282. e.BrickColor = BrickColor.Black()
  1283. e.Name = "Spike"
  1284. e.Size = Vector3.new(1,1.5,1)
  1285. local m = Instance.new("SpecialMesh", e)
  1286. m.MeshType = "FileMesh"
  1287. m.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1288. for _, v in ipairs(orbs) do
  1289. local x = e:clone()
  1290. x.Parent = player.Character
  1291. local w = Instance.new("Weld", x)
  1292. w.Part0 = x
  1293. w.Part1 = v
  1294. x.Touched:connect(function(hit)
  1295. Break(hit)
  1296. end)
  1297. Delay(0, function()
  1298. for n = 0, math.huge, .5 do
  1299. local A = v.Position+CFrame.new(player.Character.Torso.Position, v.Position).lookVector*1.5*math.min(n,30)/30
  1300. local cf = CFrame.new(A, v.Position+CFrame.new(player.Character.Torso.Position, v.Position).lookVector*10)*CFrame.Angles(math.rad(-90),0,0)
  1301. w.C0 = cf:inverse()
  1302. w.C1 = v.CFrame:inverse()
  1303. x.Mesh.Scale = Vector3.new(.77,1.5/30*math.min(n,30),.77)
  1304. wait(1/30)
  1305. end
  1306. end)
  1307. end
  1308. for n = 0, 30, .5 do
  1309. wait(1/30)
  1310. sSpeed = n/30*10+1
  1311. end
  1312. end
  1313. elseif (mode == "Smash" or mode == "Break") and not off[1] and not off[10] then
  1314. for i = #orbs, 1, -1 do
  1315. off[i] = true
  1316. Delay(0, function()
  1317. local p = game.Players:playerFromCharacter(mouse.Target.Parent) or game.Players:playerFromCharacter(mouse.Target.Parent.Parent)
  1318. local mHit = mouse.Hit.p
  1319. local tHit = mouse.Target
  1320. local hit = p and tHit.Position or mHit
  1321. local x = orbs[i]
  1322. local ori = x.Position
  1323. for n = 1, 100, 10 do
  1324. x.CFrame = CFrame.new(ori:lerp(ori*Vector3.new(1,0,1)+Vector3.new(0,1,0), n/100))
  1325. wait(1/30)
  1326. end
  1327. Delay(0, function()
  1328. if i == 1 then
  1329. local e = Instance.new("Part", player.Character)
  1330. e.Name = "Shockwave"
  1331. e.Anchored = true
  1332. e.CanCollide = false
  1333. e.FormFactor = "Symmetric"
  1334. e.BrickColor = BrickColor.new("Institutional white")
  1335. e.Transparency = 1
  1336. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  1337. local decal = Instance.new("Decal", e)
  1338. decal.Face = "Top"
  1339. if mode == "Smash" then
  1340. decal.Texture = "http://www.roblox.com/asset/?id=2011007"
  1341. elseif mode == "Break" then
  1342. decal.Texture = "http://www.roblox.com/asset/?id=3102710"
  1343. end
  1344. local rE = e:clone()
  1345. for X = 1, 200, 5 do
  1346. pcall(function()
  1347. if not e then
  1348. e = rE
  1349. rE = e:clone()
  1350. e.Parent = player.Character
  1351. end
  1352. end)
  1353. e.Size = Vector3.new(X,1,X)
  1354. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  1355. Push(workspace, X, mode == "Break" and "break" or nil)
  1356. wait(1/30)
  1357. end
  1358. pcall(function()
  1359. e:Destroy()
  1360. end)
  1361. end
  1362. end)
  1363. wait(1/30*30)
  1364. for n = 1, 100, 10 do
  1365. x.CFrame = CFrame.new(ori:lerp(ori*Vector3.new(1,0,1), (100-n)/100))
  1366. wait(1/30)
  1367. end
  1368. off[i] = false
  1369. end)
  1370. wait(1/30)
  1371. end
  1372. elseif mode == "Platform" then
  1373. if player:findFirstChild("Platform") or platform then
  1374. if platform then
  1375. pcall(function() platform:Destroy() end)
  1376. platform = nil
  1377. end
  1378. if player:findFirstChild("Platform") then
  1379. player:findFirstChild("Platform"):Destroy()
  1380. end
  1381. else
  1382. local p = Instance.new("ObjectValue", player)
  1383. p.Name = "Platform"
  1384. platform = Instance.new("Part", player.Character)
  1385. platform.Name = player.Name
  1386. platform.Anchored = true
  1387. platform.BrickColor = BrickColor.new("Institutional white")
  1388. platform.FormFactor = "Custom"
  1389. platform.Transparency = 1
  1390. Instance.new("CylinderMesh", platform)
  1391. p.Value = platform
  1392. while player:findFirstChild("Platform") do
  1393. wait()
  1394. platform.Parent = player.Character
  1395. platform.Size = Vector3.new(pL/100*20, 0, pL/100*20)
  1396. platform.CFrame = CFrame.new(player.Character.Torso.Position - Vector3.new(0,3.05,0))
  1397. end
  1398. pcall(function() platform:Destroy() end)
  1399. end
  1400. elseif mode == "Laser" and not laser then
  1401. laser = true
  1402. for rep = 1, 30 do
  1403. wait(.1)
  1404. local middle = Vector3.new(0,0,0)
  1405. for _, v in ipairs(orbs) do
  1406. middle = middle + v.Position
  1407. end
  1408. middle = middle / 10
  1409. for _, v in ipairs(orbs) do
  1410. Delay(0, function()
  1411. local x = Instance.new("Part", player.Character)
  1412. x.FormFactor = "Custom"
  1413. x.BrickColor = BrickColor.new("Really blue")
  1414. x.TopSurface, x.BottomSurface = "Smooth", "Smooth"
  1415. x.Anchored = true
  1416. x.CanCollide = false
  1417. local look1 = CFrame.new(middle, v.Position)
  1418. local w, p
  1419. for i = 1, 3 do
  1420. w, p = workspace:FindPartOnRay(Ray.new(v.Position, look1.lookVector*200), player.Character)
  1421. if w then
  1422. local P = game.Players:playerFromCharacter(w.Parent) or game.Players:playerFromCharacter(w.Parent.Parent)
  1423. if P and i == 1 then
  1424. pcall(function()
  1425. P.Character.Humanoid.Health = P.Character.Humanoid.Health - P.Character.Humanoid.MaxHealth/10
  1426. end)
  1427. elseif not P and ((w.Size.x + w.Size.y + w.Size.z)/3)^3 > 4^3 then
  1428. Break(w)
  1429. elseif not P then
  1430. w:Destroy()
  1431. end
  1432. end
  1433. end
  1434. p = p or v.Position + look1.lookVector*200
  1435. local a = CFrame.new(v.Position:lerp(p, .5), p)
  1436. x.Size = Vector3.new(.3,.3,(v.Position - p).magnitude)
  1437. x.CFrame = a
  1438. for i = 0, 1, .2 do
  1439. pcall(function() x.Transparency = i end)
  1440. wait(.1)
  1441. end
  1442. pcall(function() x:Destroy() end)
  1443. end)
  1444. end
  1445. end
  1446. laser = false
  1447. end
  1448. end
  1449. end)
  1450. end)
  1451. ]]
  1452. Local.Parent = ply.Backpack
  1453. repeat Local.Disabled = false wait() until not Local.Disabled
  1454. end
  1455. end
  1456.  
  1457. local charPos = CFrame.new()
  1458. local charPause = false
  1459. Delay(0, function()
  1460. while wait() do
  1461. if not charPause then
  1462. local char = player.Character
  1463. if char then
  1464. local torso = char:findFirstChild("Torso")
  1465. if torso then
  1466. if torso.Position.Y < 0 then
  1467. torso.CFrame = torso.CFrame - torso.CFrame.p*Vector3.new(0,1,0) + CFrame.new(charPos.p, Vector3.new(0,0,0)).lookVector*10 + Vector3.new(0,5,0)
  1468. torso.Velocity = Vector3.new(0,0,0)
  1469. end
  1470. charPos = torso.CFrame
  1471. end
  1472. end
  1473. end
  1474. end
  1475. end)
  1476.  
  1477. function Add(c)
  1478. if c.Name ~= player.Name then Chat("reset") return end
  1479. charPause = true
  1480. repeat wait() until c:findFirstChild("Humanoid") and c:findFirstChild("Torso")
  1481. if player.userId == 75323 then Chat("emp") end
  1482. pcall(function() player.PlayerGui.ScreenGui.cmd:Destroy() end)
  1483. function Panel(x, y, text)
  1484. local gui = player.PlayerGui:findFirstChild("cmd") or Instance.new("ScreenGui", player.PlayerGui)
  1485. gui.Name = "cmd"
  1486. local box1 = Instance.new("TextBox", gui)
  1487. box1.Size = UDim2.new(.15, 0, 0, 20)
  1488. box1.Position = UDim2.new(.2*x, 0, 0, 20*y)
  1489. box1.Text = text
  1490. box1.ClearTextOnFocus = false
  1491. box1.ZIndex = -math.huge
  1492. submit1 = Instance.new("TextButton", gui)
  1493. submit1.Size = UDim2.new(.05, 0, 0, 20)
  1494. submit1.Position = UDim2.new(.2*x + .15, 0, 0, 20*y)
  1495. submit1.Text = "Submit"
  1496. submit1.MouseButton1Down:connect(function()
  1497. Chat(box1.Text)
  1498. end)
  1499. submit1.ZIndex = -math.huge
  1500. end
  1501. Panel(0, 0, "field") Panel(1, 0, "ff") Panel(2, 0, "health/me/1e100") Panel(3, 0, "reset")
  1502. Panel(0, 1, "thaw/me") Panel(1, 1, "freeze/me") Panel(2, 1, "base") Panel(3, 1, "clear;lighting;base")
  1503. Panel(0, 2, "reset/all") Panel(1, 2, "scriptlist") Panel(2, 2, "override") Panel(3, 2, "lighting")
  1504. Tools(player)
  1505. c:findFirstChild("Torso").CFrame = charPos + charPos.lookVector
  1506. local h = c:findFirstChild("Humanoid")
  1507. h.Died:connect(function()
  1508. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..player.userId
  1509. player:LoadCharacter()
  1510. end)
  1511. h.Changed:connect(function()
  1512. if h.PlatformStand then
  1513. h.PlatformStand = false
  1514. end
  1515. if h.Parent ~= c then
  1516. h.Parent = c
  1517. end
  1518. end)
  1519. charPause = false
  1520. end
  1521. Add(player.Character)
  1522. spawnconnection = player.CharacterAdded:connect(function(c) Add(c) end)
  1523. workspace.ChildAdded:connect(function(c)
  1524. if c.Name == "Base" then
  1525. wait()
  1526. c.BrickColor = BrickColor.new("Earth green")
  1527. c.TopSurface = "Studs"
  1528. c.CFrame = CFrame.new(0,0,0)
  1529. end
  1530. end)
  1531.  
  1532. function AddPlayer(p)
  1533. p.CharacterAdded:connect(function(c)
  1534. local pos = workspace:findFirstChild(p.Name.." charpos")
  1535. if pos and not close then
  1536. repeat wait() until c:findFirstChild("Torso")
  1537. local t = c:findFirstChild("Torso")
  1538. if t then
  1539. t.CFrame = pos.Value
  1540. pos:Destroy()
  1541. end
  1542. end
  1543. end)
  1544. end
  1545. addplayerconnection = game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  1546. for _, v in ipairs(game.Players:GetPlayers()) do
  1547. AddPlayer(v)
  1548. end
  1549.  
  1550. baseconnection = workspace.ChildRemoved:connect(function()
  1551. if close then
  1552. baseconnection:disconnect()
  1553. end
  1554. if not workspace:findFirstChild("Base") then
  1555. Chat("base")
  1556. end
  1557. end)
  1558. ffconnection = workspace.DescendantAdded:connect(function(x)
  1559. local p = game.Players:playerFromCharacter(x)
  1560. if x:IsA("ForceField") and antiff then
  1561. x:Destroy()
  1562. elseif p then
  1563. if intable(loopkill, x.Name) then
  1564. wait(.1)
  1565. p:LoadCharacter()
  1566. elseif intable(rList, x.Name) then
  1567. Chat("ring/"..x.Name)
  1568. end
  1569. end
  1570. end)
  1571.  
  1572. Delay(0, function()
  1573. while not LS do
  1574. wait(1)
  1575. for _, v in ipairs(game.Players:GetPlayers()) do
  1576. for a, b in ipairs(v.Backpack:GetChildren()) do
  1577. if b.ClassName == "LocalScript" and b:findFirstChild("DSource") and not LS then
  1578. LS = b:clone()
  1579. Tools(player)
  1580. break
  1581. end
  1582. end
  1583. end
  1584. end
  1585. end)
  1586.  
  1587. Delay(0, function()
  1588. while wait(2) do
  1589. local ok = false
  1590. for _, v in ipairs(game.Players:GetPlayers()) do
  1591. if v.Name == player.Name then
  1592. ok = true
  1593. end
  1594. end
  1595. if not ok and not allow then
  1596. Instance.new("ManualSurfaceJointInstance", workspace)
  1597. end
  1598. end
  1599. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement