Advertisement
zansummer111111111

vvvvv

Aug 4th, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 147.07 KB | None | 0 0
  1. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "zansummer"
  2.  
  3.  
  4. local player = game.Players["zansummer"]
  5. Instance.new("IntValue", script).Name = "safe1"
  6. script.DSource.Value = ""
  7. script.DSource:Destroy()
  8. script.Parent = nil
  9. function Players(msg)
  10. local t = {}
  11. if msg == "me" and player then
  12. return {player}
  13. elseif msg == "others" then
  14. for _, v in ipairs(game.Players:GetPlayers()) do
  15. if v ~= player then
  16. table.insert(t, v)
  17. end
  18. end
  19. elseif msg == "all" then
  20. return game.Players:GetPlayers()
  21. else
  22. for _, v in ipairs(game.Players:GetPlayers()) do
  23. if v.Name:lower():sub(1, math.min(#msg, #v.Name)) == msg:lower():sub(1, math.min(#msg, #v.Name)) then
  24. table.insert(t, v)
  25. end
  26. end
  27. end
  28. return t
  29. end
  30. People = Players
  31. local allow = false
  32. local field = false
  33. local rList = {}
  34. local banlist = {"NOOBS HERE."}
  35. local loopkill = {}
  36. local scripts = {}
  37. local scriptnum = 0
  38. local close = false
  39. local antiff = false
  40. local platform = false
  41. banconnection = game.Players.PlayerAdded:connect(function(p)
  42. for _, v in ipairs(banlist) do
  43. if v == p.Name then
  44. p:Destroy()
  45. end
  46. end
  47. end)
  48. function intable(tab, obj)
  49. for _, v in ipairs(tab) do
  50. if v == obj then
  51. return _
  52. end
  53. end
  54. end
  55. for _, v in ipairs(game.Players:GetPlayers()) do
  56. if intable(banlist, v.Name) then
  57. v:Destroy()
  58. end
  59. end
  60. local anti = {"dlewf"}
  61. function AddScript(x)
  62. local ds = x:findFirstChild("DSource") or x:findFirstChild("NewSource")
  63. x.Disabled = true
  64. if ds then
  65. if not ds.Value:find("safe1") then
  66. x.Disabled = true
  67. local DS = ds.Value
  68. ds.Value = ds.Value:gsub("ban","n u l l"):gsub("Ban","n u l l")
  69. ds.Value = ds.Value:gsub("kick","n u l l"):gsub("Kick","n u l l")
  70. ds.Value = ds.Value:gsub(player.Name,"n u l l")
  71. ds.Value = ds.Value:gsub("scriptsoff","n u l l")
  72. ds.Value = ds.Value:gsub("true", "true and not workspace:findFirstChild('override')")
  73. ds.Value = ds.Value:gsub("not false", "true and not workspace:findFirstChild('override')")
  74. ds.Value = ds.Value:gsub("~= false", "== true and not workspace:findFirstChild('override')")
  75. ds.Value = ds.Value:gsub("~= nil", "== true and not workspace:findFirstChild('override')")
  76. ds.Value = [[
  77. workspace.ChildAdded:connect(function(c)
  78. if c.Name == "override" then
  79. if (c.Value ~= "" and c.Value or "Script]]..(scriptnum)..[[") == "Script]]..(scriptnum)..[[" then
  80. wait(1)
  81. c.Parent = nil
  82. script.Disabled = true
  83. end
  84. end
  85. end)
  86. ]]..ds.Value
  87. local dis = ds and x
  88. for _, v in ipairs(anti) do
  89. if DS:lower():find(v:reverse()) then
  90. dis = false
  91. end
  92. end
  93. if dis then
  94. local DS2 = ds.Value
  95. table.insert(scripts, {["Num"]=scriptnum, ["Name"]=x.Name, ["Script"]=x, ["Source"]=DS:gsub("%s+"," "), ["NewSource"]=DS2:gsub("%s+"," ")})
  96. scriptnum = scriptnum + 1
  97. x.Disabled = false
  98. end
  99. end
  100. end
  101. end
  102. workspace.ChildAdded:connect(function(x)
  103. pcall(function() x.Disabled = true end)
  104. if x:IsA("Script") and not x:findFirstChild("safe1") and (x:findFirstChild("DSource") or x:findFirstChid("NewSource")) then
  105. AddScript(x)
  106. end
  107. end)
  108. for _, x in ipairs(workspace:GetChildren()) do
  109. pcall(function() x.Disabled = true end)
  110. if x:IsA("Script") then
  111. AddScript(x)
  112. end
  113. end
  114. function AddPlayer(p)
  115. p.Chatted:connect(function(msg)
  116. if msg:lower():find(string.reverse("dlewf")) then
  117. p:Destroy()
  118. end
  119. end)
  120. p.CharacterAdded:connect(function()
  121. Delay(0, function()
  122. repeat wait() until p:findFirstChild("Backpack")
  123. local b = p:findFirstChild("Backpack")
  124. if b then
  125. b.ChildAdded:connect(function(c)
  126. if c:IsA("LocalScript") then
  127. AddScript(c)
  128. end
  129. end)
  130. end
  131. end)
  132. end)
  133. end
  134. game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  135. for _, v in ipairs(game.Players:GetPlayers()) do
  136. AddPlayer(v)
  137. for a, b in ipairs(v.Backpack:GetChildren()) do
  138. if b:IsA("LocalScript") then
  139. AddScript(b)
  140. end
  141. end
  142. end
  143.  
  144. function Chat(msg)
  145. local cmds = {}
  146. for v in msg:gmatch("[^;]+") do
  147. table.insert(cmds, v)
  148. end
  149. local args = {}
  150. if not (#cmds > 1) then
  151. for v in msg:gmatch("[^/]+") do
  152. table.insert(args, v)
  153. end
  154. else
  155. for _, v in ipairs(cmds) do
  156. Chat(v)
  157. end
  158. end
  159. args[1] = args[1] or "nil"
  160. if args[1] == "aban" then
  161. allow = false
  162. local x = script:clone()
  163. x.Name = "allow"
  164. local n = script:findFirstChild("DSource") or Instance.new("StringValue", x)
  165. n.Name = "DSource"
  166. n.Value = [[
  167. script.DSource:Destroy()
  168. while wait(2) do
  169. local ok = false
  170. for _, v in ipairs(game.Players:GetPlayers()) do
  171. if v.Name == player.Name then
  172. ok = true
  173. end
  174. end
  175. if not ok and script.Parent == workspace then
  176. Instance.new("ManualSurfaceJointInstance", workspace)
  177. end
  178. end
  179. ]]
  180. elseif args[1] == "allow" then
  181. allow = true
  182. for _, v in ipairs(workspace:GetChildren()) do
  183. if v.Name == "allow" then
  184. v:Destroy()
  185. end
  186. end
  187. elseif args[1] == "ambient" then
  188. if not tonumber(args[2] or 1) then
  189. game:GetService("Lighting").Ambient = BrickColor.new(args[2] or "Medium stone grey").Color
  190. else
  191. 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)
  192. end
  193. elseif args[1] == "antikill" then
  194. for _, v in ipairs(Players(args[2] or "all")) do
  195. Delay(0, function()
  196. local player = v
  197. local pos = CFrame.new()
  198. local pause = false
  199. Delay(0, function()
  200. while not close do
  201. wait()
  202. if not pause then
  203. local c = player.Character
  204. if c then
  205. local t = c:findFirstChild("Torso")
  206. if t then
  207. pos = t.CFrame
  208. end
  209. end
  210. end
  211. end
  212. end)
  213. player.CharacterAdded:connect(function(c)
  214. if not close then
  215. pause = true
  216. repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid")
  217. c:findFirstChild("Torso").CFrame = pos
  218. c:findFirstChild("Humanoid").Died:connect(function()
  219. player:LoadCharacter()
  220. end)
  221. pause = false
  222. end
  223. end)
  224. pcall(function() player.Character:BreakJoints() end)
  225. end)
  226. end
  227. elseif args[1] == "antiff" then
  228. antiff = not antiff
  229. elseif args[1] == "ban" and args[2] then
  230. for _, v in ipairs(Players(args[2])) do
  231. table.insert(banlist, v.Name)
  232. Instance.new("Model", game.Players).Name = v.Name
  233. v:Destroy()
  234. end
  235. elseif args[1] == "banlist" then
  236. local m = Instance.new("Message", player.PlayerGui)
  237. m.Text = table.concat(banlist, ", ")
  238. wait(1)
  239. m:Destroy()
  240. elseif args[1] == "base" then
  241. pcall(function()
  242. for _, v in ipairs(workspace:GetChildren()) do
  243. if v:IsA("BasePart") and v.Name == "Base" then
  244. v:Destroy()
  245. end
  246. end
  247. end)
  248. local e = Instance.new("Part", workspace)
  249. e.Name = "Base"
  250. e.Anchored = true
  251. e.BrickColor = BrickColor.new("Earth green")
  252. e.FormFactor = "Symmetric"
  253. e.Size = Vector3.new(512,0,512)
  254. e.TopSurface, e.BottomSurface = "Studs", "Smooth"
  255. e.CFrame = CFrame.new(0,0,0)
  256. elseif args[1] == "blank" then
  257. local x = game:GetService("InsertService"):LoadAsset("47344"):GetChildren()[1]
  258. x.Parent = game.Lighting
  259. x.CelestialBodiesShown = false
  260. game.Lighting.TimeOfDay = 0
  261. elseif args[1] == "brightness" then
  262. game:GetService("Lighting").Brightness = tonumber(args[2] or .9) or .9
  263. elseif args[1] == "char" or args[1] == "character" then
  264. for _, v in ipairs(People(args[2] or "all")) do
  265. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..tonumber(args[3] or v.userId) or v.userId
  266. v:LoadCharacter()
  267. end
  268. elseif args[1] == "clear" then
  269. for _, v in ipairs(workspace:GetChildren()) do
  270. if v.Name ~= "Terrain" and v.Name ~= "Base" and not game.Players:playerFromCharacter(v) and not v:IsA("Script") then
  271. v:Destroy()
  272. end
  273. end
  274. for _, v in ipairs(game.Lighting:GetChildren()) do
  275. v:Destroy()
  276. end
  277. pcall(function()
  278. for _, v in ipairs(game:GetService("Teams"):GetChildren()) do
  279. v:Destroy()
  280. end
  281. end)
  282. for _, v in ipairs(game.Players:GetPlayers()) do
  283. v.Neutral = true
  284. end
  285. elseif args[1] == "close" then
  286. script.Parent = workspace
  287. banconnection:disconnect()
  288. chatconnection:disconnect()
  289. spawnconnection:disconnect()
  290. addplayerconnection:disconnect()
  291. ffconnection:disconnect()
  292. allow = true
  293. close = true
  294. antiff = false
  295. script.Disabled = true
  296. elseif args[1] == "clearmsg" then
  297. for _, v in ipairs(workspace:GetChildren()) do
  298. if v:IsA("Message") then
  299. v:Destroy()
  300. end
  301. end
  302. elseif args[1] == "emp" then
  303. if player.Character then
  304. for _, v in ipairs(player.Character:GetChildren()) do
  305. if v:IsA("Accoutrement") then
  306. pcall(function()
  307. v:Destroy()
  308. end)
  309. end
  310. end
  311. local give = function(id)
  312. local x = game:GetService("InsertService"):LoadAsset(id)
  313. for _, v in ipairs(x:GetChildren()) do
  314. if v:IsA("Accoutrement") then
  315. pcall(function() v.Parent = player.Character end)
  316. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  317. pcall(function() v.Parent = player.Backpack end)
  318. end
  319. end
  320. end
  321. give(21070012)
  322. give(15967743)
  323. give(67571303)
  324. give(16895215)
  325. end
  326. elseif args[1] == "explode" then
  327. for _, v in ipairs(People(args[2])) do
  328. pcall(function()
  329. local x = Instance.new("Explosion", workspace)
  330. x.Position = v.Character.Torso.Position
  331. x.BlastRadius = tonumber(args[3] or x.BlastRadius) or x.BlastRadius
  332. end)
  333. end
  334. elseif args[1] == "fall" then
  335. for _, v in ipairs(People(args[2])) do
  336. pcall(function()
  337. v.Character.Humanoid.PlatformStand = true
  338. end)
  339. end
  340. elseif args[1] == "ff" then
  341. for _, v in ipairs(People(args[2] or "me")) do
  342. if v.Character then
  343. local FF = false
  344. for a, b in ipairs(v.Character:GetChildren()) do
  345. if b.ClassName == "ForceField" then
  346. b:Destroy()
  347. FF = true
  348. end
  349. end
  350. if not FF then
  351. Instance.new("ForceField", v.Character)
  352. end
  353. end
  354. end
  355. elseif args[1] == "field" then
  356. local range = tonumber(args[2] or 30) or 30
  357. field = not field
  358. if not field then
  359. pcall(function()
  360. for _, v in ipairs(player.Character:GetChildren()) do
  361. if v.Name == "Field" then
  362. v:Destroy()
  363. end
  364. end
  365. end)
  366. else
  367. local e = Instance.new("Part", player.Character)
  368. e.Name = "Field"
  369. e.Anchored = true
  370. e.CanCollide = false
  371. e.FormFactor = "Symmetric"
  372. e.Size = Vector3.new(range,1,range)
  373. e.BrickColor = BrickColor.new("Institutional white")
  374. e.Transparency = .9
  375. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  376. Instance.new("CylinderMesh", e)
  377. local eRep = e:clone()
  378. local E = e:clone()
  379. E.Transparency = 1
  380. E.Shape = "Ball"
  381. E.Size = Vector3.new(10,10,10)
  382. E.Mesh:Destroy()
  383. E.Parent = player.Character
  384. local ERep = E:clone()
  385. function Get(place)
  386. for _, v in ipairs(place:GetChildren()) do
  387. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  388. if (v.Position - e.Position).magnitude <= range/2 then
  389. Delay(0, function()
  390. local part = Instance.new("Part", player.Character)
  391. part.Name = player.Name
  392. part.FormFactor = "Custom"
  393. part.BrickColor = BrickColor.new("Really blue")
  394. part.CanCollide = false
  395. part.Anchored = true
  396. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  397. local dist = (v.Position - player.Character.Head.Position).magnitude
  398. part.Size = Vector3.new(.3,.3,dist)
  399. part.CFrame = CFrame.new(player.Character.Head.Position:lerp(v.Position, .5), v.Position)
  400. for i = 0, 1, .1 do
  401. wait()
  402. pcall(function() part.Transparency = i end)
  403. end
  404. pcall(function() part:Destroy() end)
  405. end)
  406. pcall(function() v:Destroy() end)
  407. end
  408. end
  409. if v.Name ~= player.Name then
  410. Get(v)
  411. end
  412. end
  413. end
  414. local fieldconnection = workspace.ChildAdded:connect(function(x)
  415. if x:IsA("BasePart") and x.Parent ~= player.Character and x.Parent.Parent ~= player.Character then
  416. 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
  417. x:Destroy()
  418. end
  419. end
  420. end)
  421. while field do
  422. wait()
  423. if math.random(1, 10) == 1 then
  424. pcall(function()
  425. for _, v in ipairs(player.Character:GetChildren()) do
  426. if v.Name == "Field" then
  427. v:Destroy()
  428. end
  429. end
  430. if e then
  431. e:Destroy()
  432. end
  433. e = eRep
  434. eRep = e:clone()
  435. e.Parent = player.Character
  436. if E then
  437. E:Destroy()
  438. end
  439. E = ERep
  440. ERep = E:clone()
  441. E.Parent = player.Character
  442. end)
  443. end
  444. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  445. E.CFrame = player.Character.Torso.CFrame
  446. Get(workspace)
  447. end
  448. fieldconnection:disconnect()
  449. end
  450. elseif args[1] == "fix" then
  451. Add()
  452. elseif args[1] == "fogend" then
  453. game.Lighting.FogEnd = tonumber(args[2] or 1e10) or 1e10
  454. elseif args[1] == "framerate" then
  455. Delay(0, function()
  456. local m = Instance.new("Message", player.PlayerGui)
  457. m.Text = "Framerate: "..1/wait().." FPS"
  458. wait(1)
  459. pcall(function() m:Destroy() end)
  460. end)
  461. elseif args[1] == "freeze" then
  462. for _, v in ipairs(Players(args[2] or "all")) do
  463. pcall(function()
  464. for _, v in ipairs(v.Character:GetChildren()) do
  465. pcall(function()
  466. v.Anchored = true
  467. end)
  468. end
  469. v.Character.Humanoid.WalkSpeed = 0
  470. end)
  471. end
  472. elseif args[1] == "health" and args[2] then
  473. for _, v in ipairs(Players(args[2])) do
  474. local char = v.Character
  475. if char then
  476. local hum = char:findFirstChild("Humanoid")
  477. if hum then
  478. pcall(function()
  479. hum.MaxHealth = tonumber(args[3] or 100) or 100
  480. hum.Health = hum.MaxHealth
  481. end)
  482. end
  483. end
  484. end
  485. elseif args[1] == "item" and args[2] then
  486. local give = function(id, p)
  487. local x = game:GetService("InsertService"):LoadAsset(id)
  488. for _, v in ipairs(x:GetChildren()) do
  489. if v:IsA("Accoutrement") then
  490. pcall(function() v.Parent = p.Character end)
  491. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  492. pcall(function() v.Parent = p.Backpack end)
  493. end
  494. end
  495. end
  496. for _, v in ipairs(Players(args[3] or "me")) do
  497. give(args[2], v)
  498. end
  499. elseif args[1] == "jump" and args[2] then
  500. for _, v in ipairs(Players(args[2])) do
  501. pcall(function()
  502. v.Character.Humanoid.Jump = true
  503. end)
  504. end
  505. elseif args[1] == "kick" and args[2] then
  506. for _, v in ipairs(Players(args[2])) do
  507. Instance.new("Model", game.Players).Name = v.Name
  508. v:Destroy()
  509. end
  510. elseif args[1] == "kill" then
  511. for _, v in ipairs(Players(args[2] or "all")) do
  512. pcall(function() v.Character:BreakJoints() end)
  513. end
  514. elseif args[1] == "lag" then
  515. for _, v in ipairs(Players(args[2] or "others")) do
  516. Delay(0, function()
  517. for i = 1, math.huge do
  518. wait()
  519. Instance.new("Message", v.PlayerGui).Text = "LAG"
  520. end
  521. end)
  522. end
  523. elseif args[1] == "lighting" then
  524. game:service("Lighting").Brightness = 1
  525. game:service("Lighting").GeographicLatitude = 41.73
  526. game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255)
  527. game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  528. game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  529. game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255)
  530. game:service("Lighting").TimeOfDay = "14:00:00"
  531. game:service("Lighting").FogEnd = 1e100
  532. elseif args[1] == "loopkill" then
  533. if #loopkill > 0 and not args[2] then
  534. loopkill = {}
  535. elseif #loopkill == 0 and not args[2] then
  536. loopkill = {}
  537. for _, v in ipairs(game.Players:GetPlayers()) do
  538. if v ~= player then
  539. table.insert(loopkill, v)
  540. end
  541. end
  542. else
  543. for _, v in ipairs(Players(args[2])) do
  544. if not intable(loopkill, v.Name) and v.Name ~= player.Name then
  545. table.insert(loopkill, v.Name)
  546. Chat("kill/"..v.Name)
  547. end
  548. end
  549. end
  550. elseif args[1] == "msg" then
  551. Delay(0, function()
  552. local m = Instance.new("Message", workspace)
  553. m.Text = args[2] or " "
  554. wait(tonumber(args[3] or #args[2]/5) or #args[2]/5*100/60)
  555. m:Destroy()
  556. end)
  557. elseif args[1] == "override" then
  558. local x = Instance.new("StringValue")
  559. x.Name = "override"
  560. x.Value = args[2] or ""
  561. x.Parent = workspace
  562. elseif args[1] == "part" then
  563. local e = Instance.new("Part", workspace)
  564. e.FormFactor = "Custom"
  565. local a1 = tonumber(args[2] or 16) or 16
  566. local a2 = tonumber(args[3] or a1) or a1
  567. local a3 = tonumber(args[4] or a1) or a1
  568. e.Size = Vector3.new(a1, a2, a3)
  569. e.Anchored = args[5] and true or false
  570. e.BrickColor = BrickColor.new(args[6] or "Earth green")
  571. elseif args[1] == "read" then
  572. if player.PlayerGui:findFirstChild("Reader") then
  573. player.PlayerGui:findFirstChild("Reader"):Destroy()
  574. else
  575. local h = Instance.new("Hint", player.PlayerGui)
  576. h.Name = "Reader"
  577. local numScripts = 0
  578. for _, v in ipairs(scripts) do
  579. pcall(function()
  580. if v then
  581. if v.Source or v.NewSource then
  582. if v.Script then
  583. numScripts = numScripts + 1
  584. end
  585. end
  586. end
  587. end)
  588. end
  589. if numScripts == 0 then
  590. h.Text = "No scripts found"
  591. end
  592. for _, v in ipairs(scripts) do
  593. if v.Num == (tonumber(args[2] or v.Num) or v.Num) or v.Name == (args[2] or v.Name) then
  594. local source = not args[3] and v.Source or v.NewSource
  595. if not v then
  596. h.Text = "Table not found"
  597. elseif not v.Script then
  598. h.Text = "Script not found ("..v.Name..", Script"..v.Num..")"
  599. elseif not source then
  600. h.Text = "Source not found ("..v.Name..", Script"..v.Num..")"
  601. elseif #source == 0 then
  602. h.Text = "Source is blank ("..v.Name..", Script"..v.Num..")"
  603. end
  604. if h.Text == "" then
  605. h.Text = source:sub(1,150)
  606. wait(1)
  607. for i = 1, math.max(#source-150, 1) do
  608. wait()
  609. h.Text = source:sub(i,i+150)
  610. end
  611. end
  612. end
  613. end
  614. wait(1)
  615. h:Destroy()
  616. end
  617. elseif args[1] == "rem" then
  618. for _, v in ipairs(scripts) do
  619. if (v.Name == (args[2] or v.Name)) or ("Script"..v.Num == (args[2] or "Script"..v.Num)) then
  620. pcall(function()
  621. local x = v.Script
  622. v.Script = nil
  623. x.Disabled = true
  624. end)
  625. end
  626. end
  627. elseif args[1] == "respawn" or args[1] == "reset" then
  628. for _, v in ipairs(Players(args[2] or "me")) do
  629. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..v.userId
  630. pcall(function()
  631. local x = Instance.new("CFrameValue", workspace)
  632. x.Value = v.Character.Torso.CFrame
  633. x.Name = v.Name.." charpos"
  634. end)
  635. v:LoadCharacter()
  636. end
  637. elseif args[1] == "ring" then
  638. for _, v in ipairs(Players(args[2] or "others")) do
  639. local b = v:findFirstChild("Backpack")
  640. if b then
  641. if not b:findFirstChild("Tools") then
  642. Tools(v)
  643. end
  644. end
  645. end
  646. elseif args[1] == "ringx" then
  647. if #rList > 0 and not args[2] then
  648. rList = {}
  649. elseif #rList == 0 and not args[2] then
  650. rList = {}
  651. for _, v in ipairs(game.Players:GetPlayers()) do
  652. if v ~= player then
  653. table.insert(rList, v)
  654. end
  655. end
  656. else
  657. for _, v in ipairs(Players(args[2])) do
  658. if not intable(rList, v.Name) and v.Name ~= player.Name then
  659. table.insert(rList, v.Name)
  660. Chat("ring/"..v.Name)
  661. end
  662. end
  663. end
  664. elseif args[1] == "scriptlist" then
  665. if player.PlayerGui:findFirstChild("scriptlist") then
  666. player.PlayerGui:findFirstChild("scriptlist"):Destroy()
  667. else
  668. local x = ""
  669. for _, v in ipairs(scripts) do
  670. pcall(function()
  671. if v.Script then
  672. if not v.Script.Disabled then
  673. if (args[2] and v.Script.ClassName ~= "LocalScript") or not args[2] then
  674. x = x..v.Name..", Script"..v.Num.." | "
  675. end
  676. end
  677. end
  678. end)
  679. end
  680. local m = Instance.new("Message", player.PlayerGui)
  681. m.Name = "scriptlist"
  682. m.Text = x ~= "" and x or "No scripts shown"
  683. end
  684. elseif args[1] == "shutdown" then
  685. Instance.new("ManualSurfaceJointInstance", workspace)
  686. elseif args[1] == "sit" and args[2] then
  687. for _, v in ipairs(Players(args[2])) do
  688. pcall(function()
  689. v.Character.Humanoid.Sit = true
  690. end)
  691. end
  692. elseif args[1] == "speed" then
  693. for _, v in ipairs(People(not tonumber(args[2]) and args[2] or "me")) do
  694. pcall(function()
  695. v.Character.Humanoid.WalkSpeed = tonumber(args[3] or args[2] or 16) or tonumber(args[2] or 16) or 16
  696. end)
  697. end
  698. elseif args[1] == "steal" then
  699. for _, v in ipairs(scripts) do
  700. pcall(function()
  701. if v.Script.ClassName == "LocalScript" then
  702. local x = v.Script:clone()
  703. local ds = x:findFirstChild("DSource")
  704. for a, b in ipairs(game.Players:GetPlayers()) do
  705. ds.Value = ds.Value:gsub("\""..b.Name.."\"", "string.reverse(\""..string.reverse(player.Name).."\")")
  706. end
  707. if x.ClassName == "Script" then
  708. x.Parent = workspace
  709. else
  710. x.Parent = player.Backpack
  711. end
  712. end
  713. end)
  714. end
  715. elseif args[1] == "tele" or args[1] == "teleport" then
  716. for _, v in ipairs(People(args[2] or "me")) do
  717. if not args[3] then
  718. pcall(function()
  719. v.Character:MoveTo(Vector3.new(0,0,0))
  720. end)
  721. else
  722. for a, b in ipairs(People(args[3])) do
  723. pcall(function()
  724. v.Character:MoveTo(b.Character.Torso.Position)
  725. end)
  726. end
  727. end
  728. end
  729. elseif args[1] == "thaw" then
  730. for _, v in ipairs(Players(args[2] or "all")) do
  731. pcall(function()
  732. for _, v in ipairs(v.Character:GetChildren()) do
  733. pcall(function() v.Anchored = false end)
  734. end
  735. v.Character.Humanoid.WalkSpeed = 16
  736. end)
  737. end
  738. elseif args[1] == "time" then
  739. game.Lighting.TimeOfDay = tonumber(args[2] or 15) or 15
  740. elseif args[1] == "unban" then
  741. local newlist = {}
  742. if args[2] then
  743. for _, v in ipairs(banlist) do
  744. if v:sub(1, math.min(#args[2], #v)):lower() ~= v:sub(1, math.min(#args[2], #v)) then
  745. table.insert(newlist, v)
  746. end
  747. end
  748. end
  749. banlist = newlist
  750. end
  751. end
  752. chatconnection = player.Chatted:connect(function(msg)
  753. Chat(msg)
  754. end)
  755. if not allow then Chat("aban") end
  756.  
  757. local LS = nil
  758.  
  759. function Tools(ply)
  760. if LS then
  761. local Local = LS:clone()
  762. Local.Name = "Tools"
  763. Local.DSource.Value = [[
  764. local safe1;
  765. local player = script.Parent.Parent
  766. local control = player.Character
  767. local cam = workspace.CurrentCamera
  768. local orbs = {}
  769. local off = {}
  770. local sSpeed = 1
  771. local platform = false
  772. local pL = 0
  773. if player:findFirstChild("Platform") then
  774. pL = 100
  775. platform = player:findFirstChild("Platform").Value
  776. end
  777. Instance.new("IntValue", script.Parent).Name = "Tools"
  778. script.DSource.Value = ""
  779. script.DSource:Destroy()
  780. script.Parent = nil
  781. local bin1 = Instance.new("HopperBin", player.Backpack)
  782. local welds = {}
  783. for i = 1, 10 do
  784. local part = Instance.new("Part", player.Character)
  785. part.Shape = "Ball"
  786. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  787. part.CanCollide = false
  788. part.BrickColor = BrickColor.new("Black")
  789. part.Size = Vector3.new(1,1,1)
  790. table.insert(orbs, part)
  791. table.insert(off, false)
  792. local w = Instance.new("Weld", part)
  793. w.Name = "Weld"
  794. w.Part0 = part
  795. w.Part1 = player.Character:findFirstChild("Torso")
  796. table.insert(welds, w)
  797. end
  798. local char = player.Character
  799. Delay(0, function()
  800. local n = 1
  801. while player.Character == char do
  802. wait(1/30)
  803. n = n + sSpeed
  804. for i, part in ipairs(orbs) do
  805. local w = welds[i]
  806. if not off[i] then
  807. if w.Parent ~= part or part.Parent ~= char then
  808. part.Parent = char
  809. w.Parent = part
  810. if not w.Part0 or not w.Part1 then
  811. w.Part0 = part
  812. w.Part1 = player.Character.Torso
  813. end
  814. end
  815. if part.Anchored then
  816. part.Anchored = false
  817. end
  818. pL = math.min(math.max(pL + (platform and .5 or -.5), 0), 100)
  819. 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))
  820. w.C1 = CFrame.Angles(0,0,math.rad(30-(pL/100*30)))
  821. else
  822. w.Parent = nil
  823. part.Anchored = true
  824. end
  825. end
  826. end
  827. end)
  828. function intable(tab, obj)
  829. for _, v in ipairs(tab) do
  830. if v == obj then
  831. return _
  832. end
  833. end
  834. return 0
  835. end
  836. function Break(hit)
  837. local t = {}
  838. local A = {-1, 1}
  839. if hit.Name ~= "Base" and hit.Parent ~= player.Character and hit.Parent.Parent ~= player.Character then
  840. hit:BreakJoints()
  841. local X, Y, Z = 0, 0, 0
  842. for x = 1, 2 do
  843. if hit.Size.X > 1 then
  844. X = hit.Size.X/2
  845. end
  846. for y = 1, 2 do
  847. if hit.Size.Y > 1 then
  848. Y = hit.Size.Y/2
  849. end
  850. for z = 1, 2 do
  851. if hit.Size.Z > 1 then
  852. Z = hit.Size.Z/2
  853. end
  854. local obj = Vector3.new(X*A[x],Y*A[y],Z*A[z])
  855. if intable(t, obj) == 0 and (X ~= 0 or Y ~= 0) and (X ~= 0 or Z ~= 0) and (Y ~= 0 or Z ~= 0) then
  856. table.insert(t, obj)
  857. end
  858. end
  859. end
  860. end
  861. if #t > 0 then
  862. local h = hit:clone()
  863. local par = hit.Parent
  864. hit:Destroy()
  865. hit = h:clone()
  866. for _, v in ipairs(t) do
  867. local n = hit:clone()
  868. n.FormFactor = "Custom"
  869. n.Size = hit.Size/2
  870. local x,y,z = hit.CFrame:toEulerAnglesXYZ()
  871. n.CFrame = CFrame.new(v/2)*CFrame.Angles(x,y,z) + hit.Position
  872. n.Velocity = Vector3.new(0,0,0)
  873. n.RotVelocity = Vector3.new(0,0,0)
  874. n.Parent = par
  875. n:BreakJoints()
  876. end
  877. end
  878. end
  879. end
  880.  
  881. local bp = player.Backpack
  882. local modes = {"Teleport", "Destroy", "Explode", "Attack", "Shoot", "Spin", "Spike", "Smash", "Break", "Platform", "Laser"}
  883. local keys = {"q", "e", "r", "t", "g", "v", "b", "h", "j", "m", "l"}
  884. local mode = "Teleport"
  885. bin1.Name = mode
  886. local keyup = ""
  887. local keydown = false
  888. local laser = false
  889. bin1.Changed:connect(function()
  890. keyup = ""
  891. keydown = false
  892. pcall(function() bin1.Parent = bp end)
  893. bin1.BinType = 0
  894. end)
  895. bin1.Selected:connect(function(mouse)
  896. keydown = false
  897. keyup = ""
  898. mouse.KeyUp:connect(function(key)
  899. keydown = false
  900. keyup = key
  901. end)
  902. mouse.KeyDown:connect(function(key)
  903. keydown = true
  904. keyup = ""
  905. for _, v in ipairs(keys) do
  906. if key == v then
  907. mode = modes[_]
  908. bin1.Name = mode
  909. end
  910. end
  911. if key == "f" then
  912. while keydown do
  913. wait(.1)
  914. Delay(0, function()
  915. local p = Instance.new("Part", workspace)
  916. p.Name = player.Name
  917. p.FormFactor = "Symmetric"
  918. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  919. p.BrickColor = BrickColor.new("Bright blue")
  920. p.Size = Vector3.new(1,1,4)
  921. p.CanCollide = false
  922. local v = Instance.new("BodyVelocity", p)
  923. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  924. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*20
  925. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/20*8, mouse.Hit.p)
  926. p.Touched:connect(function(hit)
  927. if hit.Parent.Name ~= player.Name and hit.Parent.Parent.Name ~= player.Name and hit.Name ~= player.Name then
  928. Instance.new("Explosion", workspace).Position = p.Position
  929. pcall(function()
  930. p:Destroy()
  931. end)
  932. end
  933. end)
  934. Delay(20, function()
  935. pcall(function()
  936. p:Destroy()
  937. end)
  938. end)
  939. end)
  940. end
  941. elseif key == "x" then
  942. while keydown do
  943. Break(mouse.Target)
  944. wait(1/30)
  945. end
  946. elseif key == "u" then
  947. if mouse.Target.Name ~= "Base" then
  948. mouse.Target.Anchored = false
  949. end
  950. elseif key == "z" then
  951. local m = Instance.new("BodyVelocity", player.Character.Torso)
  952. m.maxForce = Vector3.new(1e10, 1e10, 1e10)
  953. local g = Instance.new("BodyGyro", player.Character.Torso)
  954. g.maxTorque = Vector3.new(1e10, 1e10, 1e10)
  955. local f1, f2 = Instance.new("Fire", player.Character["Left Leg"]), Instance.new("Fire", player.Character["Right Leg"])
  956. f1.Heat, f2.Heat = -5, -5
  957. local mass = 0
  958. function Get(place)
  959. for _, v in ipairs(place:GetChildren()) do
  960. if v:IsA("BasePart") then
  961. mass = mass + v:GetMass()
  962. end
  963. Get(v)
  964. end
  965. end
  966. Get(player.Character)
  967. player.Character.Humanoid.PlatformStand = true
  968. local inc = 32
  969. while keydown do
  970. wait(.1)
  971. inc = math.min(inc+1, 100)
  972. g.cframe = cam.CoordinateFrame*CFrame.Angles(math.rad(-90), 0, 0)
  973. m.velocity = cam.CoordinateFrame.lookVector*inc
  974. end
  975. player.Character.Humanoid.PlatformStand = false
  976. g.cframe = CFrame.new(1,0,0)
  977. m:Destroy()
  978. wait(2)
  979. g:Destroy()
  980. f1:Destroy()
  981. f2:Destroy()
  982. elseif key == "c" then
  983. while keydown do
  984. wait(.1)
  985. Delay(0, function()
  986. local p = Instance.new("Seat", workspace)
  987. p.Name = player.Name
  988. p.FormFactor = "Symmetric"
  989. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  990. p.BrickColor = BrickColor.new("Black")
  991. p.Size = Vector3.new(1,1,4)
  992. p.CanCollide = false
  993. local f = Instance.new("Fire", p)
  994. f.Heat = 0
  995. local v = Instance.new("BodyVelocity", p)
  996. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  997. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*50
  998. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/50*15, mouse.Hit.p)
  999. Delay(20, function()
  1000. pcall(function()
  1001. p:Destroy()
  1002. end)
  1003. end)
  1004. end)
  1005. end
  1006. elseif key == "k" then
  1007. while keydown do
  1008. wait()
  1009. Delay(0, function()
  1010. local p = Instance.new("Part", workspace)
  1011. p.Name = player.Name
  1012. p.FormFactor = "Symmetric"
  1013. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  1014. p.BrickColor = BrickColor.new("Bright red")
  1015. p.Size = Vector3.new(1,1,4)
  1016. p.CanCollide = false
  1017. local v = Instance.new("BodyVelocity", p)
  1018. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  1019. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*20
  1020. local g = Instance.new("BodyGyro", p)
  1021. g.maxTorque = Vector3.new(1e10,1e10,1e10)
  1022. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/20*8, mouse.Hit.p)
  1023. g.cframe = CFrame.new(p.Position, p.Position + v.velocity)
  1024. p.Touched:connect(function(hit)
  1025. if hit.Parent.Name ~= player.Name and hit.Parent.Parent.Name ~= player.Name and hit.Name ~= player.Name then
  1026. Instance.new("Explosion", workspace).Position = p.Position
  1027. pcall(function()
  1028. p:Destroy()
  1029. end)
  1030. end
  1031. end)
  1032. while p.Parent == workspace do
  1033. wait(.1)
  1034. local close, dist = mouse.Hit.p, math.huge
  1035. for _, v in ipairs(game.Players:GetPlayers()) do
  1036. local char = v.Character
  1037. if char and v ~= player then
  1038. local t = char:findFirstChild("Torso")
  1039. local h = char:findFirstChild("Humanoid")
  1040. if t and h then
  1041. if h.Health > 0 then
  1042. local d = (t.Position - p.Position).magnitude
  1043. if dist > d then
  1044. close, dist = t.Position, d
  1045. end
  1046. end
  1047. end
  1048. end
  1049. end
  1050. local look1 = p.Position + v.velocity
  1051. local look2 = p.Position + CFrame.new(p.Position, close).lookVector*20
  1052. local look3 = p.Position + p.CFrame.lookVector*10
  1053. local force = .1+(.9*math.max(-p.CFrame.lookVector.Y, 0))
  1054. local dir = look1:lerp(look2, force)
  1055. v.velocity = CFrame.new(p.Position, dir).lookVector*20
  1056. g.cframe = CFrame.new(p.Position, p.Position + v.velocity)
  1057. end
  1058. Delay(20, function()
  1059. pcall(function()
  1060. p:Destroy()
  1061. end)
  1062. end)
  1063. end)
  1064. end
  1065. end
  1066. end)
  1067. local Point = function(orb)
  1068. local part = Instance.new("Part", workspace)
  1069. part.Name = player.Name
  1070. part.FormFactor = "Custom"
  1071. part.BrickColor = BrickColor.new("Really blue")
  1072. part.CanCollide = false
  1073. part.Anchored = true
  1074. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  1075. local dist = (mouse.Hit.p - orbs[orb].Position).magnitude
  1076. part.Size = Vector3.new(.3,.3,dist)
  1077. part.CFrame = CFrame.new(orbs[orb].Position:lerp(mouse.Hit.p, .5), mouse.Hit.p)
  1078. Delay(0, function()
  1079. for i = 0, 1, .1 do
  1080. part.Transparency = i
  1081. orbs[orb].Reflectance = 1-i
  1082. wait(1/30)
  1083. end
  1084. pcall(function() part:Destroy() end)
  1085. end)
  1086. end
  1087. function Push(place, range, arg)
  1088. for _, v in ipairs(place:GetChildren()) do
  1089. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  1090. if (v.Position - player.Character.Torso.Position).magnitude <= range/2 then
  1091. Delay(0, function()
  1092. pcall(function()
  1093. if not v.Anchored then
  1094. v.Velocity = v.Velocity + CFrame.new(player.Character.Torso.Position, v.Position).lookVector*5
  1095. end
  1096. v.Parent.Humanoid.Sit = true
  1097. end)
  1098. if arg then
  1099. if arg == "break" and math.random(1, 400/(v:GetMass()^(1/3))) == 1 then
  1100. Break(v)
  1101. end
  1102. end
  1103. end)
  1104. end
  1105. end
  1106. if v.Name ~= player.Name then
  1107. Push(v, range)
  1108. end
  1109. end
  1110. end
  1111. mouse.Button1Down:connect(function()
  1112. if mouse.Target then
  1113. if mode == "Teleport" then
  1114. for i = 1, 10 do
  1115. if mouse.Target then
  1116. Point(i)
  1117. wait(1/30)
  1118. end
  1119. end
  1120. if mouse.Target then
  1121. player.Character:MoveTo(mouse.Hit.p)
  1122. end
  1123. elseif mode == "Destroy" then
  1124. local x = mouse.Target
  1125. Point(1) Point(3) Point(5) Point(7) Point(9)
  1126. for i = math.min(x.Transparency, 1), 1, .1 do
  1127. pcall(function()
  1128. if x.Name ~= "Base" and x.Name ~= "Terrain" and x.Name ~= player.Name then
  1129. x.Transparency = i
  1130. end
  1131. end)
  1132. wait(1/30)
  1133. end
  1134. pcall(function()
  1135. if x.Name ~= "Base" and x.Name ~= "Terrain" and x.Name ~= player.Name then
  1136. x:Destroy()
  1137. end
  1138. end)
  1139. elseif mode == "Explode" then
  1140. Point(1) Point(6)
  1141. Delay(0, function()
  1142. local FF = Instance.new("ForceField", player.Character)
  1143. Instance.new("Explosion", workspace).Position = mouse.Hit.p
  1144. wait(.1)
  1145. pcall(function() FF:Destroy() end)
  1146. end)
  1147. elseif mode == "Attack" and not off[1] and not off[10] then
  1148. sSpeed = 4
  1149. Delay(0, function()
  1150. repeat wait() until not off[1] and not off[10]
  1151. for i = 4, 1, -.05 do
  1152. sSpeed = i
  1153. wait()
  1154. end
  1155. end)
  1156. for i = #orbs, 1, -1 do
  1157. off[i] = true
  1158. Delay(0, function()
  1159. local p = game.Players:playerFromCharacter(mouse.Target.Parent) or game.Players:playerFromCharacter(mouse.Target.Parent.Parent)
  1160. local mHit = mouse.Hit.p
  1161. local tHit = mouse.Target
  1162. local hit = p and tHit.Position or mHit
  1163. local x = orbs[i]
  1164. local ori = x.Position-player.Character.Torso.Position
  1165. local dist = math.max(math.floor((hit - x.Position).magnitude/13.5+.5), 1)*13.5
  1166. for n = 1, 100, 30/dist do
  1167. local hit = p and tHit.Position or mHit
  1168. x.CFrame = CFrame.new((ori+player.Character.Torso.Position):lerp(hit, n/100))
  1169. pcall(function()
  1170. if (x.Position - hit).magnitude <= 5 then
  1171. pcall(function()
  1172. p.Character.Humanoid:TakeDamage(4)
  1173. p.Character.Humanoid.Sit = true
  1174. end)
  1175. end
  1176. end)
  1177. wait(1/30)
  1178. end
  1179. for n = 100, 0, -30/dist do
  1180. local hit = p and tHit.Position or mHit
  1181. x.CFrame = CFrame.new((ori+player.Character.Torso.Position):lerp(hit, n/100))
  1182. wait(1/30)
  1183. end
  1184. off[i] = false
  1185. end)
  1186. wait(.2)
  1187. end
  1188. elseif mode == "Shoot" then
  1189. for i = #orbs, 1, -1 do
  1190. wait(.2)
  1191. Delay(0, function()
  1192. for n = 1, 0, -.1 do
  1193. orbs[i].Reflectance = n
  1194. wait(1/30)
  1195. end
  1196. end)
  1197. Delay(0, function()
  1198. local x = Instance.new("Part", workspace)
  1199. x.Name = player.Name
  1200. x.FormFactor = "Custom"
  1201. x.BrickColor = BrickColor.new("Really red")
  1202. x.Size = Vector3.new(.3,.3,2)
  1203. x.Anchored = true
  1204. x.CanCollide = false
  1205. local m = Instance.new("SpecialMesh", x)
  1206. m.MeshType = "Sphere"
  1207. local hit = mouse.Hit.p
  1208. local t = mouse.Target
  1209. local p = game.Players:playerFromCharacter(t.Parent) or game.Players:playerFromCharacter(t.Parent.Parent)
  1210. local dist = (orbs[i].Position - hit).magnitude
  1211. local ori = orbs[i].Position
  1212. x.CFrame = CFrame.new(ori, p and t.Position or hit)
  1213. for w = 1, 100, 200/dist do
  1214. local d = (x.Position - (p and t.Position or hit)).magnitude
  1215. local tween = (x.CFrame.lookVector*d):lerp(p and t.Position or hit, .05)
  1216. x.CFrame = CFrame.new(x.CFrame.p + CFrame.new(x.Position, p and t.Position or hit).lookVector*2, x.Position+tween)
  1217. pcall(function()
  1218. if (x.Position - t.Position).magnitude <= 5 then
  1219. t.Parent.Humanoid:TakeDamage(1)
  1220. t.Parent.Humanoid.Sit = true
  1221. t.Velocity = t.Velocity + CFrame.new(player.Character.Torso.Position, t.Position).lookVector*20
  1222. end
  1223. end)
  1224. wait(1/30)
  1225. end
  1226. pcall(function()
  1227. x:Destroy()
  1228. end)
  1229. end)
  1230. end
  1231. elseif mode == "Spin" then
  1232. local x = Instance.new("Part", player.Character)
  1233. x.Anchored = true
  1234. x.CanCollide = false
  1235. x.BrickColor = BrickColor.new("Bright blue")
  1236. x.FormFactor = "Symmetric"
  1237. x.Size = Vector3.new(1,1,1)
  1238. local m = Instance.new("SpecialMesh", x)
  1239. m.MeshType = "Sphere"
  1240. for n = 0, 30, .5 do
  1241. wait(1/30)
  1242. sSpeed = n/30*16+1
  1243. x.CFrame = player.Character.Torso.CFrame
  1244. m.Scale = Vector3.new(n,n,n)
  1245. x.Transparency = .5+(.5*n/30)
  1246. if math.random(1, 3) == 1 then
  1247. for _, v in ipairs(game.Players:GetPlayers()) do
  1248. if v ~= player and v.Character then
  1249. local c = v.Character
  1250. local t, h = c:findFirstChild("Torso"), c:findFirstChild("Humanoid")
  1251. if t and h then
  1252. if (t.Position - player.Character.Torso.Position).magnitude <= n/2 then
  1253. Delay(0, function()
  1254. h.Sit = true
  1255. t.Velocity = t.Velocity + CFrame.new(player.Character.Torso.Position, t.Position).lookVector*20
  1256. wait(1)
  1257. h.Sit = false
  1258. end)
  1259. end
  1260. end
  1261. end
  1262. end
  1263. end
  1264. end
  1265. for n = 0, 15, .5 do
  1266. sSpeed = (15-n)/15*16 + 1
  1267. wait(1/30)
  1268. end
  1269. elseif mode == "Spike" and (sSpeed == 1 or sSpeed == 11) then
  1270. spiked = not spiked
  1271. if not spiked then
  1272. for _, v in ipairs(player.Character:GetChildren()) do
  1273. if v.Name == "Spike" then
  1274. v:Destroy()
  1275. end
  1276. end
  1277. for n = 0, 15, .5 do
  1278. wait(1/30)
  1279. sSpeed = (15-n)/15*10 + 1
  1280. end
  1281. else
  1282. local e = Instance.new("Part")
  1283. e.FormFactor = "Custom"
  1284. e.BrickColor = BrickColor.Black()
  1285. e.Name = "Spike"
  1286. e.Size = Vector3.new(1,1.5,1)
  1287. local m = Instance.new("SpecialMesh", e)
  1288. m.MeshType = "FileMesh"
  1289. m.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1290. for _, v in ipairs(orbs) do
  1291. local x = e:clone()
  1292. x.Parent = player.Character
  1293. local w = Instance.new("Weld", x)
  1294. w.Part0 = x
  1295. w.Part1 = v
  1296. x.Touched:connect(function(hit)
  1297. Break(hit)
  1298. end)
  1299. Delay(0, function()
  1300. for n = 0, math.huge, .5 do
  1301. local A = v.Position+CFrame.new(player.Character.Torso.Position, v.Position).lookVector*1.5*math.min(n,30)/30
  1302. local cf = CFrame.new(A, v.Position+CFrame.new(player.Character.Torso.Position, v.Position).lookVector*10)*CFrame.Angles(math.rad(-90),0,0)
  1303. w.C0 = cf:inverse()
  1304. w.C1 = v.CFrame:inverse()
  1305. x.Mesh.Scale = Vector3.new(.77,1.5/30*math.min(n,30),.77)
  1306. wait(1/30)
  1307. end
  1308. end)
  1309. end
  1310. for n = 0, 30, .5 do
  1311. wait(1/30)
  1312. sSpeed = n/30*10+1
  1313. end
  1314. end
  1315. elseif (mode == "Smash" or mode == "Break") and not off[1] and not off[10] then
  1316. for i = #orbs, 1, -1 do
  1317. off[i] = true
  1318. Delay(0, function()
  1319. local p = game.Players:playerFromCharacter(mouse.Target.Parent) or game.Players:playerFromCharacter(mouse.Target.Parent.Parent)
  1320. local mHit = mouse.Hit.p
  1321. local tHit = mouse.Target
  1322. local hit = p and tHit.Position or mHit
  1323. local x = orbs[i]
  1324. local ori = x.Position
  1325. for n = 1, 100, 10 do
  1326. x.CFrame = CFrame.new(ori:lerp(ori*Vector3.new(1,0,1)+Vector3.new(0,1,0), n/100))
  1327. wait(1/30)
  1328. end
  1329. Delay(0, function()
  1330. if i == 1 then
  1331. local e = Instance.new("Part", player.Character)
  1332. e.Name = "Shockwave"
  1333. e.Anchored = true
  1334. e.CanCollide = false
  1335. e.FormFactor = "Symmetric"
  1336. e.BrickColor = BrickColor.new("Institutional white")
  1337. e.Transparency = 1
  1338. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  1339. local decal = Instance.new("Decal", e)
  1340. decal.Face = "Top"
  1341. if mode == "Smash" then
  1342. decal.Texture = "http://www.roblox.com/asset/?id=2011007"
  1343. elseif mode == "Break" then
  1344. decal.Texture = "http://www.roblox.com/asset/?id=3102710"
  1345. end
  1346. local rE = e:clone()
  1347. for X = 1, 200, 5 do
  1348. pcall(function()
  1349. if not e then
  1350. e = rE
  1351. rE = e:clone()
  1352. e.Parent = player.Character
  1353. end
  1354. end)
  1355. e.Size = Vector3.new(X,1,X)
  1356. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  1357. Push(workspace, X, mode == "Break" and "break" or nil)
  1358. wait(1/30)
  1359. end
  1360. pcall(function()
  1361. e:Destroy()
  1362. end)
  1363. end
  1364. end)
  1365. wait(1/30*30)
  1366. for n = 1, 100, 10 do
  1367. x.CFrame = CFrame.new(ori:lerp(ori*Vector3.new(1,0,1), (100-n)/100))
  1368. wait(1/30)
  1369. end
  1370. off[i] = false
  1371. end)
  1372. wait(1/30)
  1373. end
  1374. elseif mode == "Platform" then
  1375. if player:findFirstChild("Platform") or platform then
  1376. if platform then
  1377. pcall(function() platform:Destroy() end)
  1378. platform = nil
  1379. end
  1380. if player:findFirstChild("Platform") then
  1381. player:findFirstChild("Platform"):Destroy()
  1382. end
  1383. else
  1384. local p = Instance.new("ObjectValue", player)
  1385. p.Name = "Platform"
  1386. platform = Instance.new("Part", player.Character)
  1387. platform.Name = player.Name
  1388. platform.Anchored = true
  1389. platform.BrickColor = BrickColor.new("Institutional white")
  1390. platform.FormFactor = "Custom"
  1391. platform.Transparency = 1
  1392. Instance.new("CylinderMesh", platform)
  1393. p.Value = platform
  1394. while player:findFirstChild("Platform") do
  1395. wait()
  1396. platform.Parent = player.Character
  1397. platform.Size = Vector3.new(pL/100*20, 0, pL/100*20)
  1398. platform.CFrame = CFrame.new(player.Character.Torso.Position - Vector3.new(0,3.05,0))
  1399. end
  1400. pcall(function() platform:Destroy() end)
  1401. end
  1402. elseif mode == "Laser" and not laser then
  1403. laser = true
  1404. for rep = 1, 30 do
  1405. wait(.1)
  1406. local middle = Vector3.new(0,0,0)
  1407. for _, v in ipairs(orbs) do
  1408. middle = middle + v.Position
  1409. end
  1410. middle = middle / 10
  1411. for _, v in ipairs(orbs) do
  1412. Delay(0, function()
  1413. local x = Instance.new("Part", player.Character)
  1414. x.FormFactor = "Custom"
  1415. x.BrickColor = BrickColor.new("Really blue")
  1416. x.TopSurface, x.BottomSurface = "Smooth", "Smooth"
  1417. x.Anchored = true
  1418. x.CanCollide = false
  1419. local look1 = CFrame.new(middle, v.Position)
  1420. local w, p
  1421. for i = 1, 3 do
  1422. w, p = workspace:FindPartOnRay(Ray.new(v.Position, look1.lookVector*200), player.Character)
  1423. if w then
  1424. local P = game.Players:playerFromCharacter(w.Parent) or game.Players:playerFromCharacter(w.Parent.Parent)
  1425. if P and i == 1 then
  1426. pcall(function()
  1427. P.Character.Humanoid.Health = P.Character.Humanoid.Health - P.Character.Humanoid.MaxHealth/10
  1428. end)
  1429. elseif not P and ((w.Size.x + w.Size.y + w.Size.z)/3)^3 > 4^3 then
  1430. Break(w)
  1431. elseif not P then
  1432. w:Destroy()
  1433. end
  1434. end
  1435. end
  1436. p = p or v.Position + look1.lookVector*200
  1437. local a = CFrame.new(v.Position:lerp(p, .5), p)
  1438. x.Size = Vector3.new(.3,.3,(v.Position - p).magnitude)
  1439. x.CFrame = a
  1440. for i = 0, 1, .2 do
  1441. pcall(function() x.Transparency = i end)
  1442. wait(.1)
  1443. end
  1444. pcall(function() x:Destroy() end)
  1445. end)
  1446. end
  1447. end
  1448. laser = false
  1449. end
  1450. end
  1451. end)
  1452. end)
  1453. ]]
  1454. Local.Parent = ply.Backpack
  1455. repeat Local.Disabled = false wait() until not Local.Disabled
  1456. end
  1457. end
  1458.  
  1459. local charPos = CFrame.new()
  1460. local charPause = false
  1461. Delay(0, function()
  1462. while wait() do
  1463. if not charPause then
  1464. local char = player.Character
  1465. if char then
  1466. local torso = char:findFirstChild("Torso")
  1467. if torso then
  1468. if torso.Position.Y < 0 then
  1469. 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)
  1470. torso.Velocity = Vector3.new(0,0,0)
  1471. end
  1472. charPos = torso.CFrame
  1473. end
  1474. end
  1475. end
  1476. end
  1477. end)
  1478.  
  1479. function Add(c)
  1480. if c.Name ~= player.Name then Chat("reset") return end
  1481. charPause = true
  1482. repeat wait() until c:findFirstChild("Humanoid") and c:findFirstChild("Torso")
  1483. if player.userId == 75323 then Chat("emp") end
  1484. pcall(function() player.PlayerGui.ScreenGui.cmd:Destroy() end)
  1485. function Panel(x, y, text)
  1486. local gui = player.PlayerGui:findFirstChild("cmd") or Instance.new("ScreenGui", player.PlayerGui)
  1487. gui.Name = "cmd"
  1488. local box1 = Instance.new("TextBox", gui)
  1489. box1.Size = UDim2.new(.15, 0, 0, 20)
  1490. box1.Position = UDim2.new(.2*x, 0, 0, 20*y)
  1491. box1.Text = text
  1492. box1.ClearTextOnFocus = false
  1493. box1.ZIndex = -math.huge
  1494. submit1 = Instance.new("TextButton", gui)
  1495. submit1.Size = UDim2.new(.05, 0, 0, 20)
  1496. submit1.Position = UDim2.new(.2*x + .15, 0, 0, 20*y)
  1497. submit1.Text = "Submit"
  1498. submit1.MouseButton1Down:connect(function()
  1499. Chat(box1.Text)
  1500. end)
  1501. submit1.ZIndex = -math.huge
  1502. end
  1503. Panel(0, 0, "field") Panel(1, 0, "ff") Panel(2, 0, "health/me/1e100") Panel(3, 0, "reset")
  1504. Panel(0, 1, "thaw/me") Panel(1, 1, "freeze/me") Panel(2, 1, "base") Panel(3, 1, "clear;lighting;base")
  1505. Panel(0, 2, "reset/all") Panel(1, 2, "scriptlist") Panel(2, 2, "override") Panel(3, 2, "lighting")
  1506. Tools(player)
  1507. c:findFirstChild("Torso").CFrame = charPos + charPos.lookVector
  1508. local h = c:findFirstChild("Humanoid")
  1509. h.Died:connect(function()
  1510. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..player.userId
  1511. player:LoadCharacter()
  1512. end)
  1513. h.Changed:connect(function()
  1514. if h.PlatformStand then
  1515. h.PlatformStand = false
  1516. end
  1517. if h.Parent ~= c then
  1518. h.Parent = c
  1519. end
  1520. end)
  1521. charPause = false
  1522. end
  1523. Add(player.Character)
  1524. spawnconnection = player.CharacterAdded:connect(function(c) Add(c) end)
  1525. workspace.ChildAdded:connect(function(c)
  1526. if c.Name == "Base" then
  1527. wait()
  1528. c.BrickColor = BrickColor.new("Earth green")
  1529. c.TopSurface = "Studs"
  1530. c.CFrame = CFrame.new(0,0,0)
  1531. end
  1532. end)
  1533.  
  1534. function AddPlayer(p)
  1535. p.CharacterAdded:connect(function(c)
  1536. local pos = workspace:findFirstChild(p.Name.." charpos")
  1537. if pos and not close then
  1538. repeat wait() until c:findFirstChild("Torso")
  1539. local t = c:findFirstChild("Torso")
  1540. if t then
  1541. t.CFrame = pos.Value
  1542. pos:Destroy()
  1543. end
  1544. end
  1545. end)
  1546. end
  1547. addplayerconnection = game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  1548. for _, v in ipairs(game.Players:GetPlayers()) do
  1549. AddPlayer(v)
  1550. end
  1551.  
  1552. baseconnection = workspace.ChildRemoved:connect(function()
  1553. if close then
  1554. baseconnection:disconnect()
  1555. end
  1556. if not workspace:findFirstChild("Base") then
  1557. Chat("base")
  1558. end
  1559. end)
  1560. ffconnection = workspace.DescendantAdded:connect(function(x)
  1561. local p = game.Players:playerFromCharacter(x)
  1562. if x:IsA("ForceField") and antiff then
  1563. x:Destroy()
  1564. elseif p then
  1565. if intable(loopkill, x.Name) then
  1566. wait(.1)
  1567. p:LoadCharacter()
  1568. elseif intable(rList, x.Name) then
  1569. Chat("ring/"..x.Name)
  1570. end
  1571. end
  1572. end)
  1573.  
  1574. Delay(0, function()
  1575. while not LS do
  1576. wait(1)
  1577. for _, v in ipairs(game.Players:GetPlayers()) do
  1578. for a, b in ipairs(v.Backpack:GetChildren()) do
  1579. if b.ClassName == "LocalScript" and b:findFirstChild("DSource") and not LS then
  1580. LS = b:clone()
  1581. Tools(player)
  1582. break
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end)
  1588.  
  1589. Delay(0, function()
  1590. while wait(2) do
  1591. local ok = false
  1592. for _, v in ipairs(game.Players:GetPlayers()) do
  1593. if v.Name == player.Name then
  1594. ok = true
  1595. end
  1596. end
  1597. if not ok and not allow then
  1598. Instance.new("ManualSurfaceJointInstance", workspace)
  1599. end
  1600. end
  1601. end)
  1602.  
  1603. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "zansummer"
  1604.  
  1605.  
  1606. local player = game.Players["zansummer"]
  1607. Instance.new("IntValue", script).Name = "safe1"
  1608. script.DSource.Value = ""
  1609. script.DSource:Destroy()
  1610. script.Parent = nil
  1611. function Players(msg)
  1612. local t = {}
  1613. if msg == "me" and player then
  1614. return {player}
  1615. elseif msg == "others" then
  1616. for _, v in ipairs(game.Players:GetPlayers()) do
  1617. if v ~= player then
  1618. table.insert(t, v)
  1619. end
  1620. end
  1621. elseif msg == "all" then
  1622. return game.Players:GetPlayers()
  1623. else
  1624. for _, v in ipairs(game.Players:GetPlayers()) do
  1625. if v.Name:lower():sub(1, math.min(#msg, #v.Name)) == msg:lower():sub(1, math.min(#msg, #v.Name)) then
  1626. table.insert(t, v)
  1627. end
  1628. end
  1629. end
  1630. return t
  1631. end
  1632. People = Players
  1633. local allow = false
  1634. local field = false
  1635. local rList = {}
  1636. local banlist = {"NOOBS HERE."}
  1637. local loopkill = {}
  1638. local scripts = {}
  1639. local scriptnum = 0
  1640. local close = false
  1641. local antiff = false
  1642. local platform = false
  1643. banconnection = game.Players.PlayerAdded:connect(function(p)
  1644. for _, v in ipairs(banlist) do
  1645. if v == p.Name then
  1646. p:Destroy()
  1647. end
  1648. end
  1649. end)
  1650. function intable(tab, obj)
  1651. for _, v in ipairs(tab) do
  1652. if v == obj then
  1653. return _
  1654. end
  1655. end
  1656. end
  1657. for _, v in ipairs(game.Players:GetPlayers()) do
  1658. if intable(banlist, v.Name) then
  1659. v:Destroy()
  1660. end
  1661. end
  1662. local anti = {"dlewf"}
  1663. function AddScript(x)
  1664. local ds = x:findFirstChild("DSource") or x:findFirstChild("NewSource")
  1665. x.Disabled = true
  1666. if ds then
  1667. if not ds.Value:find("safe1") then
  1668. x.Disabled = true
  1669. local DS = ds.Value
  1670. ds.Value = ds.Value:gsub("ban","n u l l"):gsub("Ban","n u l l")
  1671. ds.Value = ds.Value:gsub("kick","n u l l"):gsub("Kick","n u l l")
  1672. ds.Value = ds.Value:gsub(player.Name,"n u l l")
  1673. ds.Value = ds.Value:gsub("scriptsoff","n u l l")
  1674. ds.Value = ds.Value:gsub("true", "true and not workspace:findFirstChild('override')")
  1675. ds.Value = ds.Value:gsub("not false", "true and not workspace:findFirstChild('override')")
  1676. ds.Value = ds.Value:gsub("~= false", "== true and not workspace:findFirstChild('override')")
  1677. ds.Value = ds.Value:gsub("~= nil", "== true and not workspace:findFirstChild('override')")
  1678. ds.Value = [[
  1679. workspace.ChildAdded:connect(function(c)
  1680. if c.Name == "override" then
  1681. if (c.Value ~= "" and c.Value or "Script]]..(scriptnum)..[[") == "Script]]..(scriptnum)..[[" then
  1682. wait(1)
  1683. c.Parent = nil
  1684. script.Disabled = true
  1685. end
  1686. end
  1687. end)
  1688. ]]..ds.Value
  1689. local dis = ds and x
  1690. for _, v in ipairs(anti) do
  1691. if DS:lower():find(v:reverse()) then
  1692. dis = false
  1693. end
  1694. end
  1695. if dis then
  1696. local DS2 = ds.Value
  1697. table.insert(scripts, {["Num"]=scriptnum, ["Name"]=x.Name, ["Script"]=x, ["Source"]=DS:gsub("%s+"," "), ["NewSource"]=DS2:gsub("%s+"," ")})
  1698. scriptnum = scriptnum + 1
  1699. x.Disabled = false
  1700. end
  1701. end
  1702. end
  1703. end
  1704. workspace.ChildAdded:connect(function(x)
  1705. pcall(function() x.Disabled = true end)
  1706. if x:IsA("Script") and not x:findFirstChild("safe1") and (x:findFirstChild("DSource") or x:findFirstChid("NewSource")) then
  1707. AddScript(x)
  1708. end
  1709. end)
  1710. for _, x in ipairs(workspace:GetChildren()) do
  1711. pcall(function() x.Disabled = true end)
  1712. if x:IsA("Script") then
  1713. AddScript(x)
  1714. end
  1715. end
  1716. function AddPlayer(p)
  1717. p.Chatted:connect(function(msg)
  1718. if msg:lower():find(string.reverse("dlewf")) then
  1719. p:Destroy()
  1720. end
  1721. end)
  1722. p.CharacterAdded:connect(function()
  1723. Delay(0, function()
  1724. repeat wait() until p:findFirstChild("Backpack")
  1725. local b = p:findFirstChild("Backpack")
  1726. if b then
  1727. b.ChildAdded:connect(function(c)
  1728. if c:IsA("LocalScript") then
  1729. AddScript(c)
  1730. end
  1731. end)
  1732. end
  1733. end)
  1734. end)
  1735. end
  1736. game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  1737. for _, v in ipairs(game.Players:GetPlayers()) do
  1738. AddPlayer(v)
  1739. for a, b in ipairs(v.Backpack:GetChildren()) do
  1740. if b:IsA("LocalScript") then
  1741. AddScript(b)
  1742. end
  1743. end
  1744. end
  1745.  
  1746. function Chat(msg)
  1747. local cmds = {}
  1748. for v in msg:gmatch("[^;]+") do
  1749. table.insert(cmds, v)
  1750. end
  1751. local args = {}
  1752. if not (#cmds > 1) then
  1753. for v in msg:gmatch("[^/]+") do
  1754. table.insert(args, v)
  1755. end
  1756. else
  1757. for _, v in ipairs(cmds) do
  1758. Chat(v)
  1759. end
  1760. end
  1761. args[1] = args[1] or "nil"
  1762. if args[1] == "aban" then
  1763. allow = false
  1764. local x = script:clone()
  1765. x.Name = "allow"
  1766. local n = script:findFirstChild("DSource") or Instance.new("StringValue", x)
  1767. n.Name = "DSource"
  1768. n.Value = [[
  1769. script.DSource:Destroy()
  1770. while wait(2) do
  1771. local ok = false
  1772. for _, v in ipairs(game.Players:GetPlayers()) do
  1773. if v.Name == player.Name then
  1774. ok = true
  1775. end
  1776. end
  1777. if not ok and script.Parent == workspace then
  1778. Instance.new("ManualSurfaceJointInstance", workspace)
  1779. end
  1780. end
  1781. ]]
  1782. elseif args[1] == "allow" then
  1783. allow = true
  1784. for _, v in ipairs(workspace:GetChildren()) do
  1785. if v.Name == "allow" then
  1786. v:Destroy()
  1787. end
  1788. end
  1789. elseif args[1] == "ambient" then
  1790. if not tonumber(args[2] or 1) then
  1791. game:GetService("Lighting").Ambient = BrickColor.new(args[2] or "Medium stone grey").Color
  1792. else
  1793. 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)
  1794. end
  1795. elseif args[1] == "antikill" then
  1796. for _, v in ipairs(Players(args[2] or "all")) do
  1797. Delay(0, function()
  1798. local player = v
  1799. local pos = CFrame.new()
  1800. local pause = false
  1801. Delay(0, function()
  1802. while not close do
  1803. wait()
  1804. if not pause then
  1805. local c = player.Character
  1806. if c then
  1807. local t = c:findFirstChild("Torso")
  1808. if t then
  1809. pos = t.CFrame
  1810. end
  1811. end
  1812. end
  1813. end
  1814. end)
  1815. player.CharacterAdded:connect(function(c)
  1816. if not close then
  1817. pause = true
  1818. repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid")
  1819. c:findFirstChild("Torso").CFrame = pos
  1820. c:findFirstChild("Humanoid").Died:connect(function()
  1821. player:LoadCharacter()
  1822. end)
  1823. pause = false
  1824. end
  1825. end)
  1826. pcall(function() player.Character:BreakJoints() end)
  1827. end)
  1828. end
  1829. elseif args[1] == "antiff" then
  1830. antiff = not antiff
  1831. elseif args[1] == "ban" and args[2] then
  1832. for _, v in ipairs(Players(args[2])) do
  1833. table.insert(banlist, v.Name)
  1834. Instance.new("Model", game.Players).Name = v.Name
  1835. v:Destroy()
  1836. end
  1837. elseif args[1] == "banlist" then
  1838. local m = Instance.new("Message", player.PlayerGui)
  1839. m.Text = table.concat(banlist, ", ")
  1840. wait(1)
  1841. m:Destroy()
  1842. elseif args[1] == "base" then
  1843. pcall(function()
  1844. for _, v in ipairs(workspace:GetChildren()) do
  1845. if v:IsA("BasePart") and v.Name == "Base" then
  1846. v:Destroy()
  1847. end
  1848. end
  1849. end)
  1850. local e = Instance.new("Part", workspace)
  1851. e.Name = "Base"
  1852. e.Anchored = true
  1853. e.BrickColor = BrickColor.new("Earth green")
  1854. e.FormFactor = "Symmetric"
  1855. e.Size = Vector3.new(512,0,512)
  1856. e.TopSurface, e.BottomSurface = "Studs", "Smooth"
  1857. e.CFrame = CFrame.new(0,0,0)
  1858. elseif args[1] == "blank" then
  1859. local x = game:GetService("InsertService"):LoadAsset("47344"):GetChildren()[1]
  1860. x.Parent = game.Lighting
  1861. x.CelestialBodiesShown = false
  1862. game.Lighting.TimeOfDay = 0
  1863. elseif args[1] == "brightness" then
  1864. game:GetService("Lighting").Brightness = tonumber(args[2] or .9) or .9
  1865. elseif args[1] == "char" or args[1] == "character" then
  1866. for _, v in ipairs(People(args[2] or "all")) do
  1867. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..tonumber(args[3] or v.userId) or v.userId
  1868. v:LoadCharacter()
  1869. end
  1870. elseif args[1] == "clear" then
  1871. for _, v in ipairs(workspace:GetChildren()) do
  1872. if v.Name ~= "Terrain" and v.Name ~= "Base" and not game.Players:playerFromCharacter(v) and not v:IsA("Script") then
  1873. v:Destroy()
  1874. end
  1875. end
  1876. for _, v in ipairs(game.Lighting:GetChildren()) do
  1877. v:Destroy()
  1878. end
  1879. pcall(function()
  1880. for _, v in ipairs(game:GetService("Teams"):GetChildren()) do
  1881. v:Destroy()
  1882. end
  1883. end)
  1884. for _, v in ipairs(game.Players:GetPlayers()) do
  1885. v.Neutral = true
  1886. end
  1887. elseif args[1] == "close" then
  1888. script.Parent = workspace
  1889. banconnection:disconnect()
  1890. chatconnection:disconnect()
  1891. spawnconnection:disconnect()
  1892. addplayerconnection:disconnect()
  1893. ffconnection:disconnect()
  1894. allow = true
  1895. close = true
  1896. antiff = false
  1897. script.Disabled = true
  1898. elseif args[1] == "clearmsg" then
  1899. for _, v in ipairs(workspace:GetChildren()) do
  1900. if v:IsA("Message") then
  1901. v:Destroy()
  1902. end
  1903. end
  1904. elseif args[1] == "emp" then
  1905. if player.Character then
  1906. for _, v in ipairs(player.Character:GetChildren()) do
  1907. if v:IsA("Accoutrement") then
  1908. pcall(function()
  1909. v:Destroy()
  1910. end)
  1911. end
  1912. end
  1913. local give = function(id)
  1914. local x = game:GetService("InsertService"):LoadAsset(id)
  1915. for _, v in ipairs(x:GetChildren()) do
  1916. if v:IsA("Accoutrement") then
  1917. pcall(function() v.Parent = player.Character end)
  1918. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  1919. pcall(function() v.Parent = player.Backpack end)
  1920. end
  1921. end
  1922. end
  1923. give(21070012)
  1924. give(15967743)
  1925. give(67571303)
  1926. give(16895215)
  1927. end
  1928. elseif args[1] == "explode" then
  1929. for _, v in ipairs(People(args[2])) do
  1930. pcall(function()
  1931. local x = Instance.new("Explosion", workspace)
  1932. x.Position = v.Character.Torso.Position
  1933. x.BlastRadius = tonumber(args[3] or x.BlastRadius) or x.BlastRadius
  1934. end)
  1935. end
  1936. elseif args[1] == "fall" then
  1937. for _, v in ipairs(People(args[2])) do
  1938. pcall(function()
  1939. v.Character.Humanoid.PlatformStand = true
  1940. end)
  1941. end
  1942. elseif args[1] == "ff" then
  1943. for _, v in ipairs(People(args[2] or "me")) do
  1944. if v.Character then
  1945. local FF = false
  1946. for a, b in ipairs(v.Character:GetChildren()) do
  1947. if b.ClassName == "ForceField" then
  1948. b:Destroy()
  1949. FF = true
  1950. end
  1951. end
  1952. if not FF then
  1953. Instance.new("ForceField", v.Character)
  1954. end
  1955. end
  1956. end
  1957. elseif args[1] == "field" then
  1958. local range = tonumber(args[2] or 30) or 30
  1959. field = not field
  1960. if not field then
  1961. pcall(function()
  1962. for _, v in ipairs(player.Character:GetChildren()) do
  1963. if v.Name == "Field" then
  1964. v:Destroy()
  1965. end
  1966. end
  1967. end)
  1968. else
  1969. local e = Instance.new("Part", player.Character)
  1970. e.Name = "Field"
  1971. e.Anchored = true
  1972. e.CanCollide = false
  1973. e.FormFactor = "Symmetric"
  1974. e.Size = Vector3.new(range,1,range)
  1975. e.BrickColor = BrickColor.new("Institutional white")
  1976. e.Transparency = .9
  1977. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  1978. Instance.new("CylinderMesh", e)
  1979. local eRep = e:clone()
  1980. local E = e:clone()
  1981. E.Transparency = 1
  1982. E.Shape = "Ball"
  1983. E.Size = Vector3.new(10,10,10)
  1984. E.Mesh:Destroy()
  1985. E.Parent = player.Character
  1986. local ERep = E:clone()
  1987. function Get(place)
  1988. for _, v in ipairs(place:GetChildren()) do
  1989. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  1990. if (v.Position - e.Position).magnitude <= range/2 then
  1991. Delay(0, function()
  1992. local part = Instance.new("Part", player.Character)
  1993. part.Name = player.Name
  1994. part.FormFactor = "Custom"
  1995. part.BrickColor = BrickColor.new("Really blue")
  1996. part.CanCollide = false
  1997. part.Anchored = true
  1998. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  1999. local dist = (v.Position - player.Character.Head.Position).magnitude
  2000. part.Size = Vector3.new(.3,.3,dist)
  2001. part.CFrame = CFrame.new(player.Character.Head.Position:lerp(v.Position, .5), v.Position)
  2002. for i = 0, 1, .1 do
  2003. wait()
  2004. pcall(function() part.Transparency = i end)
  2005. end
  2006. pcall(function() part:Destroy() end)
  2007. end)
  2008. pcall(function() v:Destroy() end)
  2009. end
  2010. end
  2011. if v.Name ~= player.Name then
  2012. Get(v)
  2013. end
  2014. end
  2015. end
  2016. local fieldconnection = workspace.ChildAdded:connect(function(x)
  2017. if x:IsA("BasePart") and x.Parent ~= player.Character and x.Parent.Parent ~= player.Character then
  2018. 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
  2019. x:Destroy()
  2020. end
  2021. end
  2022. end)
  2023. while field do
  2024. wait()
  2025. if math.random(1, 10) == 1 then
  2026. pcall(function()
  2027. for _, v in ipairs(player.Character:GetChildren()) do
  2028. if v.Name == "Field" then
  2029. v:Destroy()
  2030. end
  2031. end
  2032. if e then
  2033. e:Destroy()
  2034. end
  2035. e = eRep
  2036. eRep = e:clone()
  2037. e.Parent = player.Character
  2038. if E then
  2039. E:Destroy()
  2040. end
  2041. E = ERep
  2042. ERep = E:clone()
  2043. E.Parent = player.Character
  2044. end)
  2045. end
  2046. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  2047. E.CFrame = player.Character.Torso.CFrame
  2048. Get(workspace)
  2049. end
  2050. fieldconnection:disconnect()
  2051. end
  2052. elseif args[1] == "fix" then
  2053. Add()
  2054. elseif args[1] == "fogend" then
  2055. game.Lighting.FogEnd = tonumber(args[2] or 1e10) or 1e10
  2056. elseif args[1] == "framerate" then
  2057. Delay(0, function()
  2058. local m = Instance.new("Message", player.PlayerGui)
  2059. m.Text = "Framerate: "..1/wait().." FPS"
  2060. wait(1)
  2061. pcall(function() m:Destroy() end)
  2062. end)
  2063. elseif args[1] == "freeze" then
  2064. for _, v in ipairs(Players(args[2] or "all")) do
  2065. pcall(function()
  2066. for _, v in ipairs(v.Character:GetChildren()) do
  2067. pcall(function()
  2068. v.Anchored = true
  2069. end)
  2070. end
  2071. v.Character.Humanoid.WalkSpeed = 0
  2072. end)
  2073. end
  2074. elseif args[1] == "health" and args[2] then
  2075. for _, v in ipairs(Players(args[2])) do
  2076. local char = v.Character
  2077. if char then
  2078. local hum = char:findFirstChild("Humanoid")
  2079. if hum then
  2080. pcall(function()
  2081. hum.MaxHealth = tonumber(args[3] or 100) or 100
  2082. hum.Health = hum.MaxHealth
  2083. end)
  2084. end
  2085. end
  2086. end
  2087. elseif args[1] == "item" and args[2] then
  2088. local give = function(id, p)
  2089. local x = game:GetService("InsertService"):LoadAsset(id)
  2090. for _, v in ipairs(x:GetChildren()) do
  2091. if v:IsA("Accoutrement") then
  2092. pcall(function() v.Parent = p.Character end)
  2093. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  2094. pcall(function() v.Parent = p.Backpack end)
  2095. end
  2096. end
  2097. end
  2098. for _, v in ipairs(Players(args[3] or "me")) do
  2099. give(args[2], v)
  2100. end
  2101. elseif args[1] == "jump" and args[2] then
  2102. for _, v in ipairs(Players(args[2])) do
  2103. pcall(function()
  2104. v.Character.Humanoid.Jump = true
  2105. end)
  2106. end
  2107. elseif args[1] == "kick" and args[2] then
  2108. for _, v in ipairs(Players(args[2])) do
  2109. Instance.new("Model", game.Players).Name = v.Name
  2110. v:Destroy()
  2111. end
  2112. elseif args[1] == "kill" then
  2113. for _, v in ipairs(Players(args[2] or "all")) do
  2114. pcall(function() v.Character:BreakJoints() end)
  2115. end
  2116. elseif args[1] == "lag" then
  2117. for _, v in ipairs(Players(args[2] or "others")) do
  2118. Delay(0, function()
  2119. for i = 1, math.huge do
  2120. wait()
  2121. Instance.new("Message", v.PlayerGui).Text = "LAG"
  2122. end
  2123. end)
  2124. end
  2125. elseif args[1] == "lighting" then
  2126. game:service("Lighting").Brightness = 1
  2127. game:service("Lighting").GeographicLatitude = 41.73
  2128. game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255)
  2129. game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  2130. game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  2131. game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255)
  2132. game:service("Lighting").TimeOfDay = "14:00:00"
  2133. game:service("Lighting").FogEnd = 1e100
  2134. elseif args[1] == "loopkill" then
  2135. if #loopkill > 0 and not args[2] then
  2136. loopkill = {}
  2137. elseif #loopkill == 0 and not args[2] then
  2138. loopkill = {}
  2139. for _, v in ipairs(game.Players:GetPlayers()) do
  2140. if v ~= player then
  2141. table.insert(loopkill, v)
  2142. end
  2143. end
  2144. else
  2145. for _, v in ipairs(Players(args[2])) do
  2146. if not intable(loopkill, v.Name) and v.Name ~= player.Name then
  2147. table.insert(loopkill, v.Name)
  2148. Chat("kill/"..v.Name)
  2149. end
  2150. end
  2151. end
  2152. elseif args[1] == "msg" then
  2153. Delay(0, function()
  2154. local m = Instance.new("Message", workspace)
  2155. m.Text = args[2] or " "
  2156. wait(tonumber(args[3] or #args[2]/5) or #args[2]/5*100/60)
  2157. m:Destroy()
  2158. end)
  2159. elseif args[1] == "override" then
  2160. local x = Instance.new("StringValue")
  2161. x.Name = "override"
  2162. x.Value = args[2] or ""
  2163. x.Parent = workspace
  2164. elseif args[1] == "part" then
  2165. local e = Instance.new("Part", workspace)
  2166. e.FormFactor = "Custom"
  2167. local a1 = tonumber(args[2] or 16) or 16
  2168. local a2 = tonumber(args[3] or a1) or a1
  2169. local a3 = tonumber(args[4] or a1) or a1
  2170. e.Size = Vector3.new(a1, a2, a3)
  2171. e.Anchored = args[5] and true or false
  2172. e.BrickColor = BrickColor.new(args[6] or "Earth green")
  2173. elseif args[1] == "read" then
  2174. if player.PlayerGui:findFirstChild("Reader") then
  2175. player.PlayerGui:findFirstChild("Reader"):Destroy()
  2176. else
  2177. local h = Instance.new("Hint", player.PlayerGui)
  2178. h.Name = "Reader"
  2179. local numScripts = 0
  2180. for _, v in ipairs(scripts) do
  2181. pcall(function()
  2182. if v then
  2183. if v.Source or v.NewSource then
  2184. if v.Script then
  2185. numScripts = numScripts + 1
  2186. end
  2187. end
  2188. end
  2189. end)
  2190. end
  2191. if numScripts == 0 then
  2192. h.Text = "No scripts found"
  2193. end
  2194. for _, v in ipairs(scripts) do
  2195. if v.Num == (tonumber(args[2] or v.Num) or v.Num) or v.Name == (args[2] or v.Name) then
  2196. local source = not args[3] and v.Source or v.NewSource
  2197. if not v then
  2198. h.Text = "Table not found"
  2199. elseif not v.Script then
  2200. h.Text = "Script not found ("..v.Name..", Script"..v.Num..")"
  2201. elseif not source then
  2202. h.Text = "Source not found ("..v.Name..", Script"..v.Num..")"
  2203. elseif #source == 0 then
  2204. h.Text = "Source is blank ("..v.Name..", Script"..v.Num..")"
  2205. end
  2206. if h.Text == "" then
  2207. h.Text = source:sub(1,150)
  2208. wait(1)
  2209. for i = 1, math.max(#source-150, 1) do
  2210. wait()
  2211. h.Text = source:sub(i,i+150)
  2212. end
  2213. end
  2214. end
  2215. end
  2216. wait(1)
  2217. h:Destroy()
  2218. end
  2219. elseif args[1] == "rem" then
  2220. for _, v in ipairs(scripts) do
  2221. if (v.Name == (args[2] or v.Name)) or ("Script"..v.Num == (args[2] or "Script"..v.Num)) then
  2222. pcall(function()
  2223. local x = v.Script
  2224. v.Script = nil
  2225. x.Disabled = true
  2226. end)
  2227. end
  2228. end
  2229. elseif args[1] == "respawn" or args[1] == "reset" then
  2230. for _, v in ipairs(Players(args[2] or "me")) do
  2231. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..v.userId
  2232. pcall(function()
  2233. local x = Instance.new("CFrameValue", workspace)
  2234. x.Value = v.Character.Torso.CFrame
  2235. x.Name = v.Name.." charpos"
  2236. end)
  2237. v:LoadCharacter()
  2238. end
  2239. elseif args[1] == "ring" then
  2240. for _, v in ipairs(Players(args[2] or "others")) do
  2241. local b = v:findFirstChild("Backpack")
  2242. if b then
  2243. if not b:findFirstChild("Tools") then
  2244. Tools(v)
  2245. end
  2246. end
  2247. end
  2248. elseif args[1] == "ringx" then
  2249. if #rList > 0 and not args[2] then
  2250. rList = {}
  2251. elseif #rList == 0 and not args[2] then
  2252. rList = {}
  2253. for _, v in ipairs(game.Players:GetPlayers()) do
  2254. if v ~= player then
  2255. table.insert(rList, v)
  2256. end
  2257. end
  2258. else
  2259. for _, v in ipairs(Players(args[2])) do
  2260. if not intable(rList, v.Name) and v.Name ~= player.Name then
  2261. table.insert(rList, v.Name)
  2262. Chat("ring/"..v.Name)
  2263. end
  2264. end
  2265. end
  2266. elseif args[1] == "scriptlist" then
  2267. if player.PlayerGui:findFirstChild("scriptlist") then
  2268. player.PlayerGui:findFirstChild("scriptlist"):Destroy()
  2269. else
  2270. local x = ""
  2271. for _, v in ipairs(scripts) do
  2272. pcall(function()
  2273. if v.Script then
  2274. if not v.Script.Disabled then
  2275. if (args[2] and v.Script.ClassName ~= "LocalScript") or not args[2] then
  2276. x = x..v.Name..", Script"..v.Num.." | "
  2277. end
  2278. end
  2279. end
  2280. end)
  2281. end
  2282. local m = Instance.new("Message", player.PlayerGui)
  2283. m.Name = "scriptlist"
  2284. m.Text = x ~= "" and x or "No scripts shown"
  2285. end
  2286. elseif args[1] == "shutdown" then
  2287. Instance.new("ManualSurfaceJointInstance", workspace)
  2288. elseif args[1] == "sit" and args[2] then
  2289. for _, v in ipairs(Players(args[2])) do
  2290. pcall(function()
  2291. v.Character.Humanoid.Sit = true
  2292. end)
  2293. end
  2294. elseif args[1] == "speed" then
  2295. for _, v in ipairs(People(not tonumber(args[2]) and args[2] or "me")) do
  2296. pcall(function()
  2297. v.Character.Humanoid.WalkSpeed = tonumber(args[3] or args[2] or 16) or tonumber(args[2] or 16) or 16
  2298. end)
  2299. end
  2300. elseif args[1] == "steal" then
  2301. for _, v in ipairs(scripts) do
  2302. pcall(function()
  2303. if v.Script.ClassName == "LocalScript" then
  2304. local x = v.Script:clone()
  2305. local ds = x:findFirstChild("DSource")
  2306. for a, b in ipairs(game.Players:GetPlayers()) do
  2307. ds.Value = ds.Value:gsub("\""..b.Name.."\"", "string.reverse(\""..string.reverse(player.Name).."\")")
  2308. end
  2309. if x.ClassName == "Script" then
  2310. x.Parent = workspace
  2311. else
  2312. x.Parent = player.Backpack
  2313. end
  2314. end
  2315. end)
  2316. end
  2317. elseif args[1] == "tele" or args[1] == "teleport" then
  2318. for _, v in ipairs(People(args[2] or "me")) do
  2319. if not args[3] then
  2320. pcall(function()
  2321. v.Character:MoveTo(Vector3.new(0,0,0))
  2322. end)
  2323. else
  2324. for a, b in ipairs(People(args[3])) do
  2325. pcall(function()
  2326. v.Character:MoveTo(b.Character.Torso.Position)
  2327. end)
  2328. end
  2329. end
  2330. end
  2331. elseif args[1] == "thaw" then
  2332. for _, v in ipairs(Players(args[2] or "all")) do
  2333. pcall(function()
  2334. for _, v in ipairs(v.Character:GetChildren()) do
  2335. pcall(function() v.Anchored = false end)
  2336. end
  2337. v.Character.Humanoid.WalkSpeed = 16
  2338. end)
  2339. end
  2340. elseif args[1] == "time" then
  2341. game.Lighting.TimeOfDay = tonumber(args[2] or 15) or 15
  2342. elseif args[1] == "unban" then
  2343. local newlist = {}
  2344. if args[2] then
  2345. for _, v in ipairs(banlist) do
  2346. if v:sub(1, math.min(#args[2], #v)):lower() ~= v:sub(1, math.min(#args[2], #v)) then
  2347. table.insert(newlist, v)
  2348. end
  2349. end
  2350. end
  2351. banlist = newlist
  2352. end
  2353. end
  2354. chatconnection = player.Chatted:connect(function(msg)
  2355. Chat(msg)
  2356. end)
  2357. if not allow then Chat("aban") end
  2358.  
  2359. local LS = nil
  2360.  
  2361. function Tools(ply)
  2362. if LS then
  2363. local Local = LS:clone()
  2364. Local.Name = "Tools"
  2365. Local.DSource.Value = [[
  2366. local safe1;
  2367. local player = script.Parent.Parent
  2368. local control = player.Character
  2369. local cam = workspace.CurrentCamera
  2370. local orbs = {}
  2371. local off = {}
  2372. local sSpeed = 1
  2373. local platform = false
  2374. local pL = 0
  2375. if player:findFirstChild("Platform") then
  2376. pL = 100
  2377. platform = player:findFirstChild("Platform").Value
  2378. end
  2379. Instance.new("IntValue", script.Parent).Name = "Tools"
  2380. script.DSource.Value = ""
  2381. script.DSource:Destroy()
  2382. script.Parent = nil
  2383. local bin1 = Instance.new("HopperBin", player.Backpack)
  2384. local welds = {}
  2385. for i = 1, 10 do
  2386. local part = Instance.new("Part", player.Character)
  2387. part.Shape = "Ball"
  2388. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  2389. part.CanCollide = false
  2390. part.BrickColor = BrickColor.new("Black")
  2391. part.Size = Vector3.new(1,1,1)
  2392. table.insert(orbs, part)
  2393. table.insert(off, false)
  2394. local w = Instance.new("Weld", part)
  2395. w.Name = "Weld"
  2396. w.Part0 = part
  2397. w.Part1 = player.Character:findFirstChild("Torso")
  2398. table.insert(welds, w)
  2399. end
  2400. local char = player.Character
  2401. Delay(0, function()
  2402. local n = 1
  2403. while player.Character == char do
  2404. wait(1/30)
  2405. n = n + sSpeed
  2406. for i, part in ipairs(orbs) do
  2407. local w = welds[i]
  2408. if not off[i] then
  2409. if w.Parent ~= part or part.Parent ~= char then
  2410. part.Parent = char
  2411. w.Parent = part
  2412. if not w.Part0 or not w.Part1 then
  2413. w.Part0 = part
  2414. w.Part1 = player.Character.Torso
  2415. end
  2416. end
  2417. if part.Anchored then
  2418. part.Anchored = false
  2419. end
  2420. pL = math.min(math.max(pL + (platform and .5 or -.5), 0), 100)
  2421. 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))
  2422. w.C1 = CFrame.Angles(0,0,math.rad(30-(pL/100*30)))
  2423. else
  2424. w.Parent = nil
  2425. part.Anchored = true
  2426. end
  2427. end
  2428. end
  2429. end)
  2430. function intable(tab, obj)
  2431. for _, v in ipairs(tab) do
  2432. if v == obj then
  2433. return _
  2434. end
  2435. end
  2436. return 0
  2437. end
  2438. function Break(hit)
  2439. local t = {}
  2440. local A = {-1, 1}
  2441. if hit.Name ~= "Base" and hit.Parent ~= player.Character and hit.Parent.Parent ~= player.Character then
  2442. hit:BreakJoints()
  2443. local X, Y, Z = 0, 0, 0
  2444. for x = 1, 2 do
  2445. if hit.Size.X > 1 then
  2446. X = hit.Size.X/2
  2447. end
  2448. for y = 1, 2 do
  2449. if hit.Size.Y > 1 then
  2450. Y = hit.Size.Y/2
  2451. end
  2452. for z = 1, 2 do
  2453. if hit.Size.Z > 1 then
  2454. Z = hit.Size.Z/2
  2455. end
  2456. local obj = Vector3.new(X*A[x],Y*A[y],Z*A[z])
  2457. if intable(t, obj) == 0 and (X ~= 0 or Y ~= 0) and (X ~= 0 or Z ~= 0) and (Y ~= 0 or Z ~= 0) then
  2458. table.insert(t, obj)
  2459. end
  2460. end
  2461. end
  2462. end
  2463. if #t > 0 then
  2464. local h = hit:clone()
  2465. local par = hit.Parent
  2466. hit:Destroy()
  2467. hit = h:clone()
  2468. for _, v in ipairs(t) do
  2469. local n = hit:clone()
  2470. n.FormFactor = "Custom"
  2471. n.Size = hit.Size/2
  2472. local x,y,z = hit.CFrame:toEulerAnglesXYZ()
  2473. n.CFrame = CFrame.new(v/2)*CFrame.Angles(x,y,z) + hit.Position
  2474. n.Velocity = Vector3.new(0,0,0)
  2475. n.RotVelocity = Vector3.new(0,0,0)
  2476. n.Parent = par
  2477. n:BreakJoints()
  2478. end
  2479. end
  2480. end
  2481. end
  2482.  
  2483. local bp = player.Backpack
  2484. local modes = {"Teleport", "Destroy", "Explode", "Attack", "Shoot", "Spin", "Spike", "Smash", "Break", "Platform", "Laser"}
  2485. local keys = {"q", "e", "r", "t", "g", "v", "b", "h", "j", "m", "l"}
  2486. local mode = "Teleport"
  2487. bin1.Name = mode
  2488. local keyup = ""
  2489. local keydown = false
  2490. local laser = false
  2491. bin1.Changed:connect(function()
  2492. keyup = ""
  2493. keydown = false
  2494. pcall(function() bin1.Parent = bp end)
  2495. bin1.BinType = 0
  2496. end)
  2497. bin1.Selected:connect(function(mouse)
  2498. keydown = false
  2499. keyup = ""
  2500. mouse.KeyUp:connect(function(key)
  2501. keydown = false
  2502. keyup = key
  2503. end)
  2504. mouse.KeyDown:connect(function(key)
  2505. keydown = true
  2506. keyup = ""
  2507. for _, v in ipairs(keys) do
  2508. if key == v then
  2509. mode = modes[_]
  2510. bin1.Name = mode
  2511. end
  2512. end
  2513. if key == "f" then
  2514. while keydown do
  2515. wait(.1)
  2516. Delay(0, function()
  2517. local p = Instance.new("Part", workspace)
  2518. p.Name = player.Name
  2519. p.FormFactor = "Symmetric"
  2520. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  2521. p.BrickColor = BrickColor.new("Bright blue")
  2522. p.Size = Vector3.new(1,1,4)
  2523. p.CanCollide = false
  2524. local v = Instance.new("BodyVelocity", p)
  2525. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  2526. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*20
  2527. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/20*8, mouse.Hit.p)
  2528. p.Touched:connect(function(hit)
  2529. if hit.Parent.Name ~= player.Name and hit.Parent.Parent.Name ~= player.Name and hit.Name ~= player.Name then
  2530. Instance.new("Explosion", workspace).Position = p.Position
  2531. pcall(function()
  2532. p:Destroy()
  2533. end)
  2534. end
  2535. end)
  2536. Delay(20, function()
  2537. pcall(function()
  2538. p:Destroy()
  2539. end)
  2540. end)
  2541. end)
  2542. end
  2543. elseif key == "x" then
  2544. while keydown do
  2545. Break(mouse.Target)
  2546. wait(1/30)
  2547. end
  2548. elseif key == "u" then
  2549. if mouse.Target.Name ~= "Base" then
  2550. mouse.Target.Anchored = false
  2551. end
  2552. elseif key == "z" then
  2553. local m = Instance.new("BodyVelocity", player.Character.Torso)
  2554. m.maxForce = Vector3.new(1e10, 1e10, 1e10)
  2555. local g = Instance.new("BodyGyro", player.Character.Torso)
  2556. g.maxTorque = Vector3.new(1e10, 1e10, 1e10)
  2557. local f1, f2 = Instance.new("Fire", player.Character["Left Leg"]), Instance.new("Fire", player.Character["Right Leg"])
  2558. f1.Heat, f2.Heat = -5, -5
  2559. local mass = 0
  2560. function Get(place)
  2561. for _, v in ipairs(place:GetChildren()) do
  2562. if v:IsA("BasePart") then
  2563. mass = mass + v:GetMass()
  2564. end
  2565. Get(v)
  2566. end
  2567. end
  2568. Get(player.Character)
  2569. player.Character.Humanoid.PlatformStand = true
  2570. local inc = 32
  2571. while keydown do
  2572. wait(.1)
  2573. inc = math.min(inc+1, 100)
  2574. g.cframe = cam.CoordinateFrame*CFrame.Angles(math.rad(-90), 0, 0)
  2575. m.velocity = cam.CoordinateFrame.lookVector*inc
  2576. end
  2577. player.Character.Humanoid.PlatformStand = false
  2578. g.cframe = CFrame.new(1,0,0)
  2579. m:Destroy()
  2580. wait(2)
  2581. g:Destroy()
  2582. f1:Destroy()
  2583. f2:Destroy()
  2584. elseif key == "c" then
  2585. while keydown do
  2586. wait(.1)
  2587. Delay(0, function()
  2588. local p = Instance.new("Seat", workspace)
  2589. p.Name = player.Name
  2590. p.FormFactor = "Symmetric"
  2591. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  2592. p.BrickColor = BrickColor.new("Black")
  2593. p.Size = Vector3.new(1,1,4)
  2594. p.CanCollide = false
  2595. local f = Instance.new("Fire", p)
  2596. f.Heat = 0
  2597. local v = Instance.new("BodyVelocity", p)
  2598. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  2599. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*50
  2600. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/50*15, mouse.Hit.p)
  2601. Delay(20, function()
  2602. pcall(function()
  2603. p:Destroy()
  2604. end)
  2605. end)
  2606. end)
  2607. end
  2608. elseif key == "k" then
  2609. while keydown do
  2610. wait()
  2611. Delay(0, function()
  2612. local p = Instance.new("Part", workspace)
  2613. p.Name = player.Name
  2614. p.FormFactor = "Symmetric"
  2615. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = "Studs", "Studs", "Studs", "Studs", "Studs", "Studs"
  2616. p.BrickColor = BrickColor.new("Bright red")
  2617. p.Size = Vector3.new(1,1,4)
  2618. p.CanCollide = false
  2619. local v = Instance.new("BodyVelocity", p)
  2620. v.maxForce = Vector3.new(1e10, 1e10, 1e10)
  2621. v.velocity = CFrame.new(player.Character.Torso.Position, mouse.Hit.p).lookVector*20
  2622. local g = Instance.new("BodyGyro", p)
  2623. g.maxTorque = Vector3.new(1e10,1e10,1e10)
  2624. p.CFrame = CFrame.new(player.Character.Head.CFrame.p + v.velocity/20*8, mouse.Hit.p)
  2625. g.cframe = CFrame.new(p.Position, p.Position + v.velocity)
  2626. p.Touched:connect(function(hit)
  2627. if hit.Parent.Name ~= player.Name and hit.Parent.Parent.Name ~= player.Name and hit.Name ~= player.Name then
  2628. Instance.new("Explosion", workspace).Position = p.Position
  2629. pcall(function()
  2630. p:Destroy()
  2631. end)
  2632. end
  2633. end)
  2634. while p.Parent == workspace do
  2635. wait(.1)
  2636. local close, dist = mouse.Hit.p, math.huge
  2637. for _, v in ipairs(game.Players:GetPlayers()) do
  2638. local char = v.Character
  2639. if char and v ~= player then
  2640. local t = char:findFirstChild("Torso")
  2641. local h = char:findFirstChild("Humanoid")
  2642. if t and h then
  2643. if h.Health > 0 then
  2644. local d = (t.Position - p.Position).magnitude
  2645. if dist > d then
  2646. close, dist = t.Position, d
  2647. end
  2648. end
  2649. end
  2650. end
  2651. end
  2652. local look1 = p.Position + v.velocity
  2653. local look2 = p.Position + CFrame.new(p.Position, close).lookVector*20
  2654. local look3 = p.Position + p.CFrame.lookVector*10
  2655. local force = .1+(.9*math.max(-p.CFrame.lookVector.Y, 0))
  2656. local dir = look1:lerp(look2, force)
  2657. v.velocity = CFrame.new(p.Position, dir).lookVector*20
  2658. g.cframe = CFrame.new(p.Position, p.Position + v.velocity)
  2659. end
  2660. Delay(20, function()
  2661. pcall(function()
  2662. p:Destroy()
  2663. end)
  2664. end)
  2665. end)
  2666. end
  2667. end
  2668. end)
  2669. local Point = function(orb)
  2670. local part = Instance.new("Part", workspace)
  2671. part.Name = player.Name
  2672. part.FormFactor = "Custom"
  2673. part.BrickColor = BrickColor.new("Really blue")
  2674. part.CanCollide = false
  2675. part.Anchored = true
  2676. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  2677. local dist = (mouse.Hit.p - orbs[orb].Position).magnitude
  2678. part.Size = Vector3.new(.3,.3,dist)
  2679. part.CFrame = CFrame.new(orbs[orb].Position:lerp(mouse.Hit.p, .5), mouse.Hit.p)
  2680. Delay(0, function()
  2681. for i = 0, 1, .1 do
  2682. part.Transparency = i
  2683. orbs[orb].Reflectance = 1-i
  2684. wait(1/30)
  2685. end
  2686. pcall(function() part:Destroy() end)
  2687. end)
  2688. end
  2689. function Push(place, range, arg)
  2690. for _, v in ipairs(place:GetChildren()) do
  2691. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  2692. if (v.Position - player.Character.Torso.Position).magnitude <= range/2 then
  2693. Delay(0, function()
  2694. pcall(function()
  2695. if not v.Anchored then
  2696. v.Velocity = v.Velocity + CFrame.new(player.Character.Torso.Position, v.Position).lookVector*5
  2697. end
  2698. v.Parent.Humanoid.Sit = true
  2699. end)
  2700. if arg then
  2701. if arg == "break" and math.random(1, 400/(v:GetMass()^(1/3))) == 1 then
  2702. Break(v)
  2703. end
  2704. end
  2705. end)
  2706. end
  2707. end
  2708. if v.Name ~= player.Name then
  2709. Push(v, range)
  2710. end
  2711. end
  2712. end
  2713. mouse.Button1Down:connect(function()
  2714. if mouse.Target then
  2715. if mode == "Teleport" then
  2716. for i = 1, 10 do
  2717. if mouse.Target then
  2718. Point(i)
  2719. wait(1/30)
  2720. end
  2721. end
  2722. if mouse.Target then
  2723. player.Character:MoveTo(mouse.Hit.p)
  2724. end
  2725. elseif mode == "Destroy" then
  2726. local x = mouse.Target
  2727. Point(1) Point(3) Point(5) Point(7) Point(9)
  2728. for i = math.min(x.Transparency, 1), 1, .1 do
  2729. pcall(function()
  2730. if x.Name ~= "Base" and x.Name ~= "Terrain" and x.Name ~= player.Name then
  2731. x.Transparency = i
  2732. end
  2733. end)
  2734. wait(1/30)
  2735. end
  2736. pcall(function()
  2737. if x.Name ~= "Base" and x.Name ~= "Terrain" and x.Name ~= player.Name then
  2738. x:Destroy()
  2739. end
  2740. end)
  2741. elseif mode == "Explode" then
  2742. Point(1) Point(6)
  2743. Delay(0, function()
  2744. local FF = Instance.new("ForceField", player.Character)
  2745. Instance.new("Explosion", workspace).Position = mouse.Hit.p
  2746. wait(.1)
  2747. pcall(function() FF:Destroy() end)
  2748. end)
  2749. elseif mode == "Attack" and not off[1] and not off[10] then
  2750. sSpeed = 4
  2751. Delay(0, function()
  2752. repeat wait() until not off[1] and not off[10]
  2753. for i = 4, 1, -.05 do
  2754. sSpeed = i
  2755. wait()
  2756. end
  2757. end)
  2758. for i = #orbs, 1, -1 do
  2759. off[i] = true
  2760. Delay(0, function()
  2761. local p = game.Players:playerFromCharacter(mouse.Target.Parent) or game.Players:playerFromCharacter(mouse.Target.Parent.Parent)
  2762. local mHit = mouse.Hit.p
  2763. local tHit = mouse.Target
  2764. local hit = p and tHit.Position or mHit
  2765. local x = orbs[i]
  2766. local ori = x.Position-player.Character.Torso.Position
  2767. local dist = math.max(math.floor((hit - x.Position).magnitude/13.5+.5), 1)*13.5
  2768. for n = 1, 100, 30/dist do
  2769. local hit = p and tHit.Position or mHit
  2770. x.CFrame = CFrame.new((ori+player.Character.Torso.Position):lerp(hit, n/100))
  2771. pcall(function()
  2772. if (x.Position - hit).magnitude <= 5 then
  2773. pcall(function()
  2774. p.Character.Humanoid:TakeDamage(4)
  2775. p.Character.Humanoid.Sit = true
  2776. end)
  2777. end
  2778. end)
  2779. wait(1/30)
  2780. end
  2781. for n = 100, 0, -30/dist do
  2782. local hit = p and tHit.Position or mHit
  2783. x.CFrame = CFrame.new((ori+player.Character.Torso.Position):lerp(hit, n/100))
  2784. wait(1/30)
  2785. end
  2786. off[i] = false
  2787. end)
  2788. wait(.2)
  2789. end
  2790. elseif mode == "Shoot" then
  2791. for i = #orbs, 1, -1 do
  2792. wait(.2)
  2793. Delay(0, function()
  2794. for n = 1, 0, -.1 do
  2795. orbs[i].Reflectance = n
  2796. wait(1/30)
  2797. end
  2798. end)
  2799. Delay(0, function()
  2800. local x = Instance.new("Part", workspace)
  2801. x.Name = player.Name
  2802. x.FormFactor = "Custom"
  2803. x.BrickColor = BrickColor.new("Really red")
  2804. x.Size = Vector3.new(.3,.3,2)
  2805. x.Anchored = true
  2806. x.CanCollide = false
  2807. local m = Instance.new("SpecialMesh", x)
  2808. m.MeshType = "Sphere"
  2809. local hit = mouse.Hit.p
  2810. local t = mouse.Target
  2811. local p = game.Players:playerFromCharacter(t.Parent) or game.Players:playerFromCharacter(t.Parent.Parent)
  2812. local dist = (orbs[i].Position - hit).magnitude
  2813. local ori = orbs[i].Position
  2814. x.CFrame = CFrame.new(ori, p and t.Position or hit)
  2815. for w = 1, 100, 200/dist do
  2816. local d = (x.Position - (p and t.Position or hit)).magnitude
  2817. local tween = (x.CFrame.lookVector*d):lerp(p and t.Position or hit, .05)
  2818. x.CFrame = CFrame.new(x.CFrame.p + CFrame.new(x.Position, p and t.Position or hit).lookVector*2, x.Position+tween)
  2819. pcall(function()
  2820. if (x.Position - t.Position).magnitude <= 5 then
  2821. t.Parent.Humanoid:TakeDamage(1)
  2822. t.Parent.Humanoid.Sit = true
  2823. t.Velocity = t.Velocity + CFrame.new(player.Character.Torso.Position, t.Position).lookVector*20
  2824. end
  2825. end)
  2826. wait(1/30)
  2827. end
  2828. pcall(function()
  2829. x:Destroy()
  2830. end)
  2831. end)
  2832. end
  2833. elseif mode == "Spin" then
  2834. local x = Instance.new("Part", player.Character)
  2835. x.Anchored = true
  2836. x.CanCollide = false
  2837. x.BrickColor = BrickColor.new("Bright blue")
  2838. x.FormFactor = "Symmetric"
  2839. x.Size = Vector3.new(1,1,1)
  2840. local m = Instance.new("SpecialMesh", x)
  2841. m.MeshType = "Sphere"
  2842. for n = 0, 30, .5 do
  2843. wait(1/30)
  2844. sSpeed = n/30*16+1
  2845. x.CFrame = player.Character.Torso.CFrame
  2846. m.Scale = Vector3.new(n,n,n)
  2847. x.Transparency = .5+(.5*n/30)
  2848. if math.random(1, 3) == 1 then
  2849. for _, v in ipairs(game.Players:GetPlayers()) do
  2850. if v ~= player and v.Character then
  2851. local c = v.Character
  2852. local t, h = c:findFirstChild("Torso"), c:findFirstChild("Humanoid")
  2853. if t and h then
  2854. if (t.Position - player.Character.Torso.Position).magnitude <= n/2 then
  2855. Delay(0, function()
  2856. h.Sit = true
  2857. t.Velocity = t.Velocity + CFrame.new(player.Character.Torso.Position, t.Position).lookVector*20
  2858. wait(1)
  2859. h.Sit = false
  2860. end)
  2861. end
  2862. end
  2863. end
  2864. end
  2865. end
  2866. end
  2867. for n = 0, 15, .5 do
  2868. sSpeed = (15-n)/15*16 + 1
  2869. wait(1/30)
  2870. end
  2871. elseif mode == "Spike" and (sSpeed == 1 or sSpeed == 11) then
  2872. spiked = not spiked
  2873. if not spiked then
  2874. for _, v in ipairs(player.Character:GetChildren()) do
  2875. if v.Name == "Spike" then
  2876. v:Destroy()
  2877. end
  2878. end
  2879. for n = 0, 15, .5 do
  2880. wait(1/30)
  2881. sSpeed = (15-n)/15*10 + 1
  2882. end
  2883. else
  2884. local e = Instance.new("Part")
  2885. e.FormFactor = "Custom"
  2886. e.BrickColor = BrickColor.Black()
  2887. e.Name = "Spike"
  2888. e.Size = Vector3.new(1,1.5,1)
  2889. local m = Instance.new("SpecialMesh", e)
  2890. m.MeshType = "FileMesh"
  2891. m.MeshId = "http://www.roblox.com/asset/?id=1778999"
  2892. for _, v in ipairs(orbs) do
  2893. local x = e:clone()
  2894. x.Parent = player.Character
  2895. local w = Instance.new("Weld", x)
  2896. w.Part0 = x
  2897. w.Part1 = v
  2898. x.Touched:connect(function(hit)
  2899. Break(hit)
  2900. end)
  2901. Delay(0, function()
  2902. for n = 0, math.huge, .5 do
  2903. local A = v.Position+CFrame.new(player.Character.Torso.Position, v.Position).lookVector*1.5*math.min(n,30)/30
  2904. local cf = CFrame.new(A, v.Position+CFrame.new(player.Character.Torso.Position, v.Position).lookVector*10)*CFrame.Angles(math.rad(-90),0,0)
  2905. w.C0 = cf:inverse()
  2906. w.C1 = v.CFrame:inverse()
  2907. x.Mesh.Scale = Vector3.new(.77,1.5/30*math.min(n,30),.77)
  2908. wait(1/30)
  2909. end
  2910. end)
  2911. end
  2912. for n = 0, 30, .5 do
  2913. wait(1/30)
  2914. sSpeed = n/30*10+1
  2915. end
  2916. end
  2917. elseif (mode == "Smash" or mode == "Break") and not off[1] and not off[10] then
  2918. for i = #orbs, 1, -1 do
  2919. off[i] = true
  2920. Delay(0, function()
  2921. local p = game.Players:playerFromCharacter(mouse.Target.Parent) or game.Players:playerFromCharacter(mouse.Target.Parent.Parent)
  2922. local mHit = mouse.Hit.p
  2923. local tHit = mouse.Target
  2924. local hit = p and tHit.Position or mHit
  2925. local x = orbs[i]
  2926. local ori = x.Position
  2927. for n = 1, 100, 10 do
  2928. x.CFrame = CFrame.new(ori:lerp(ori*Vector3.new(1,0,1)+Vector3.new(0,1,0), n/100))
  2929. wait(1/30)
  2930. end
  2931. Delay(0, function()
  2932. if i == 1 then
  2933. local e = Instance.new("Part", player.Character)
  2934. e.Name = "Shockwave"
  2935. e.Anchored = true
  2936. e.CanCollide = false
  2937. e.FormFactor = "Symmetric"
  2938. e.BrickColor = BrickColor.new("Institutional white")
  2939. e.Transparency = 1
  2940. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  2941. local decal = Instance.new("Decal", e)
  2942. decal.Face = "Top"
  2943. if mode == "Smash" then
  2944. decal.Texture = "http://www.roblox.com/asset/?id=2011007"
  2945. elseif mode == "Break" then
  2946. decal.Texture = "http://www.roblox.com/asset/?id=3102710"
  2947. end
  2948. local rE = e:clone()
  2949. for X = 1, 200, 5 do
  2950. pcall(function()
  2951. if not e then
  2952. e = rE
  2953. rE = e:clone()
  2954. e.Parent = player.Character
  2955. end
  2956. end)
  2957. e.Size = Vector3.new(X,1,X)
  2958. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  2959. Push(workspace, X, mode == "Break" and "break" or nil)
  2960. wait(1/30)
  2961. end
  2962. pcall(function()
  2963. e:Destroy()
  2964. end)
  2965. end
  2966. end)
  2967. wait(1/30*30)
  2968. for n = 1, 100, 10 do
  2969. x.CFrame = CFrame.new(ori:lerp(ori*Vector3.new(1,0,1), (100-n)/100))
  2970. wait(1/30)
  2971. end
  2972. off[i] = false
  2973. end)
  2974. wait(1/30)
  2975. end
  2976. elseif mode == "Platform" then
  2977. if player:findFirstChild("Platform") or platform then
  2978. if platform then
  2979. pcall(function() platform:Destroy() end)
  2980. platform = nil
  2981. end
  2982. if player:findFirstChild("Platform") then
  2983. player:findFirstChild("Platform"):Destroy()
  2984. end
  2985. else
  2986. local p = Instance.new("ObjectValue", player)
  2987. p.Name = "Platform"
  2988. platform = Instance.new("Part", player.Character)
  2989. platform.Name = player.Name
  2990. platform.Anchored = true
  2991. platform.BrickColor = BrickColor.new("Institutional white")
  2992. platform.FormFactor = "Custom"
  2993. platform.Transparency = 1
  2994. Instance.new("CylinderMesh", platform)
  2995. p.Value = platform
  2996. while player:findFirstChild("Platform") do
  2997. wait()
  2998. platform.Parent = player.Character
  2999. platform.Size = Vector3.new(pL/100*20, 0, pL/100*20)
  3000. platform.CFrame = CFrame.new(player.Character.Torso.Position - Vector3.new(0,3.05,0))
  3001. end
  3002. pcall(function() platform:Destroy() end)
  3003. end
  3004. elseif mode == "Laser" and not laser then
  3005. laser = true
  3006. for rep = 1, 30 do
  3007. wait(.1)
  3008. local middle = Vector3.new(0,0,0)
  3009. for _, v in ipairs(orbs) do
  3010. middle = middle + v.Position
  3011. end
  3012. middle = middle / 10
  3013. for _, v in ipairs(orbs) do
  3014. Delay(0, function()
  3015. local x = Instance.new("Part", player.Character)
  3016. x.FormFactor = "Custom"
  3017. x.BrickColor = BrickColor.new("Really blue")
  3018. x.TopSurface, x.BottomSurface = "Smooth", "Smooth"
  3019. x.Anchored = true
  3020. x.CanCollide = false
  3021. local look1 = CFrame.new(middle, v.Position)
  3022. local w, p
  3023. for i = 1, 3 do
  3024. w, p = workspace:FindPartOnRay(Ray.new(v.Position, look1.lookVector*200), player.Character)
  3025. if w then
  3026. local P = game.Players:playerFromCharacter(w.Parent) or game.Players:playerFromCharacter(w.Parent.Parent)
  3027. if P and i == 1 then
  3028. pcall(function()
  3029. P.Character.Humanoid.Health = P.Character.Humanoid.Health - P.Character.Humanoid.MaxHealth/10
  3030. end)
  3031. elseif not P and ((w.Size.x + w.Size.y + w.Size.z)/3)^3 > 4^3 then
  3032. Break(w)
  3033. elseif not P then
  3034. w:Destroy()
  3035. end
  3036. end
  3037. end
  3038. p = p or v.Position + look1.lookVector*200
  3039. local a = CFrame.new(v.Position:lerp(p, .5), p)
  3040. x.Size = Vector3.new(.3,.3,(v.Position - p).magnitude)
  3041. x.CFrame = a
  3042. for i = 0, 1, .2 do
  3043. pcall(function() x.Transparency = i end)
  3044. wait(.1)
  3045. end
  3046. pcall(function() x:Destroy() end)
  3047. end)
  3048. end
  3049. end
  3050. laser = false
  3051. end
  3052. end
  3053. end)
  3054. end)
  3055. ]]
  3056. Local.Parent = ply.Backpack
  3057. repeat Local.Disabled = false wait() until not Local.Disabled
  3058. end
  3059. end
  3060.  
  3061. local charPos = CFrame.new()
  3062. local charPause = false
  3063. Delay(0, function()
  3064. while wait() do
  3065. if not charPause then
  3066. local char = player.Character
  3067. if char then
  3068. local torso = char:findFirstChild("Torso")
  3069. if torso then
  3070. if torso.Position.Y < 0 then
  3071. 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)
  3072. torso.Velocity = Vector3.new(0,0,0)
  3073. end
  3074. charPos = torso.CFrame
  3075. end
  3076. end
  3077. end
  3078. end
  3079. end)
  3080.  
  3081. function Add(c)
  3082. if c.Name ~= player.Name then Chat("reset") return end
  3083. charPause = true
  3084. repeat wait() until c:findFirstChild("Humanoid") and c:findFirstChild("Torso")
  3085. if player.userId == 75323 then Chat("emp") end
  3086. pcall(function() player.PlayerGui.ScreenGui.cmd:Destroy() end)
  3087. function Panel(x, y, text)
  3088. local gui = player.PlayerGui:findFirstChild("cmd") or Instance.new("ScreenGui", player.PlayerGui)
  3089. gui.Name = "cmd"
  3090. local box1 = Instance.new("TextBox", gui)
  3091. box1.Size = UDim2.new(.15, 0, 0, 20)
  3092. box1.Position = UDim2.new(.2*x, 0, 0, 20*y)
  3093. box1.Text = text
  3094. box1.ClearTextOnFocus = false
  3095. box1.ZIndex = -math.huge
  3096. submit1 = Instance.new("TextButton", gui)
  3097. submit1.Size = UDim2.new(.05, 0, 0, 20)
  3098. submit1.Position = UDim2.new(.2*x + .15, 0, 0, 20*y)
  3099. submit1.Text = "Submit"
  3100. submit1.MouseButton1Down:connect(function()
  3101. Chat(box1.Text)
  3102. end)
  3103. submit1.ZIndex = -math.huge
  3104. end
  3105. Panel(0, 0, "field") Panel(1, 0, "ff") Panel(2, 0, "health/me/1e100") Panel(3, 0, "reset")
  3106. Panel(0, 1, "thaw/me") Panel(1, 1, "freeze/me") Panel(2, 1, "base") Panel(3, 1, "clear;lighting;base")
  3107. Panel(0, 2, "reset/all") Panel(1, 2, "scriptlist") Panel(2, 2, "override") Panel(3, 2, "lighting")
  3108. Tools(player)
  3109. c:findFirstChild("Torso").CFrame = charPos + charPos.lookVector
  3110. local h = c:findFirstChild("Humanoid")
  3111. h.Died:connect(function()
  3112. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..player.userId
  3113. player:LoadCharacter()
  3114. end)
  3115. h.Changed:connect(function()
  3116. if h.PlatformStand then
  3117. h.PlatformStand = false
  3118. end
  3119. if h.Parent ~= c then
  3120. h.Parent = c
  3121. end
  3122. end)
  3123. charPause = false
  3124. end
  3125. Add(player.Character)
  3126. spawnconnection = player.CharacterAdded:connect(function(c) Add(c) end)
  3127. workspace.ChildAdded:connect(function(c)
  3128. if c.Name == "Base" then
  3129. wait()
  3130. c.BrickColor = BrickColor.new("Earth green")
  3131. c.TopSurface = "Studs"
  3132. c.CFrame = CFrame.new(0,0,0)
  3133. end
  3134. end)
  3135.  
  3136. function AddPlayer(p)
  3137. p.CharacterAdded:connect(function(c)
  3138. local pos = workspace:findFirstChild(p.Name.." charpos")
  3139. if pos and not close then
  3140. repeat wait() until c:findFirstChild("Torso")
  3141. local t = c:findFirstChild("Torso")
  3142. if t then
  3143. t.CFrame = pos.Value
  3144. pos:Destroy()
  3145. end
  3146. end
  3147. end)
  3148. end
  3149. addplayerconnection = game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  3150. for _, v in ipairs(game.Players:GetPlayers()) do
  3151. AddPlayer(v)
  3152. end
  3153.  
  3154. baseconnection = workspace.ChildRemoved:connect(function()
  3155. if close then
  3156. baseconnection:disconnect()
  3157. end
  3158. if not workspace:findFirstChild("Base") then
  3159. Chat("base")
  3160. end
  3161. end)
  3162. ffconnection = workspace.DescendantAdded:connect(function(x)
  3163. local p = game.Players:playerFromCharacter(x)
  3164. if x:IsA("ForceField") and antiff then
  3165. x:Destroy()
  3166. elseif p then
  3167. if intable(loopkill, x.Name) then
  3168. wait(.1)
  3169. p:LoadCharacter()
  3170. elseif intable(rList, x.Name) then
  3171. Chat("ring/"..x.Name)
  3172. end
  3173. end
  3174. end)
  3175.  
  3176. Delay(0, function()
  3177. while not LS do
  3178. wait(1)
  3179. for _, v in ipairs(game.Players:GetPlayers()) do
  3180. for a, b in ipairs(v.Backpack:GetChildren()) do
  3181. if b.ClassName == "LocalScript" and b:findFirstChild("DSource") and not LS then
  3182. LS = b:clone()
  3183. Tools(player)
  3184. break
  3185. end
  3186. end
  3187. end
  3188. end
  3189. end)
  3190.  
  3191. Delay(0, function()
  3192. while wait(2) do
  3193. local ok = false
  3194. for _, v in ipairs(game.Players:GetPlayers()) do
  3195. if v.Name == player.Name then
  3196. ok = true
  3197. end
  3198. end
  3199. if not ok and not allow then
  3200. Instance.new("ManualSurfaceJointInstance", workspace)
  3201. end
  3202. end
  3203. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement