Advertisement
robobot

Orb

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