Advertisement
Guest User

Nyan cat!!!

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