coolpop123

Untitled

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