Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --MADE BY DragonX64 (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE"
  2.  
  3.  
  4. local player = game.Players["JKingCam"]
  5. Instance.new("IntValue", script).Name = "safe1"
  6. script.DSource.Value = ""
  7. script.DSource:Destroy()
  8. script.Parent = nil
  9. function Players(msg)
  10. local t = {}
  11. if msg == "me" and player then
  12. return {player}
  13. elseif msg == "others" then
  14. for _, v in ipairs(game.Players:GetPlayers()) do
  15. if v ~= player then
  16. table.insert(t, v)
  17. end
  18. end
  19. elseif msg == "all" then
  20. return game.Players:GetPlayers()
  21. else
  22. for _, v in ipairs(game.Players:GetPlayers()) do
  23. if v.Name:lower():sub(1, math.min(#msg, #v.Name)) == msg:lower():sub(1, math.min(#msg, #v.Name)) then
  24. table.insert(t, v)
  25. end
  26. end
  27. end
  28. return t
  29. end
  30. People = Players
  31. local allow = false
  32. local field = false
  33. local rList = {}
  34. local banlist = {"NOOBS HERE."}
  35. local loopkill = {}
  36. local scripts = {}
  37. local scriptnum = 0
  38. local close = false
  39. local antiff = false
  40. local platform = false
  41. banconnection = game.Players.PlayerAdded:connect(function(p)
  42. for _, v in ipairs(banlist) do
  43. if v == p.Name then
  44. p:Destroy()
  45. end
  46. end
  47. end)
  48. function intable(tab, obj)
  49. for _, v in ipairs(tab) do
  50. if v == obj then
  51. return _
  52. end
  53. end
  54. end
  55. for _, v in ipairs(game.Players:GetPlayers()) do
  56. if intable(banlist, v.Name) then
  57. v:Destroy()
  58. end
  59. end
  60. local anti = {"dlewf"}
  61. function AddScript(x)
  62. local ds = x:findFirstChild("DSource") or x:findFirstChild("NewSource")
  63. x.Disabled = true
  64. if ds then
  65. if not ds.Value:find("safe1") then
  66. x.Disabled = true
  67. local DS = ds.Value
  68. ds.Value = ds.Value:gsub("ban","n u l l"):gsub("Ban","n u l l")
  69. ds.Value = ds.Value:gsub("kick","n u l l"):gsub("Kick","n u l l")
  70. ds.Value = ds.Value:gsub(player.Name,"n u l l")
  71. ds.Value = ds.Value:gsub("scriptsoff","n u l l")
  72. ds.Value = ds.Value:gsub("true", "true and not workspace:findFirstChild('override')")
  73. ds.Value = ds.Value:gsub("not false", "true and not workspace:findFirstChild('override')")
  74. ds.Value = ds.Value:gsub("~= false", "== true and not workspace:findFirstChild('override')")
  75. ds.Value = ds.Value:gsub("~= nil", "== true and not workspace:findFirstChild('override')")
  76. ds.Value = [[
  77. workspace.ChildAdded:connect(function(c)
  78. if c.Name == "override" then
  79. if (c.Value ~= "" and c.Value or "Script]]..(scriptnum)..[[") == "Script]]..(scriptnum)..[[" then
  80. wait(1)
  81. c.Parent = nil
  82. script.Disabled = true
  83. end
  84. end
  85. end)
  86. ]]..ds.Value
  87. local dis = ds and x
  88. for _, v in ipairs(anti) do
  89. if DS:lower():find(v:reverse()) then
  90. dis = false
  91. end
  92. end
  93. if dis then
  94. local DS2 = ds.Value
  95. table.insert(scripts, {["Num"]=scriptnum, ["Name"]=x.Name, ["Script"]=x, ["Source"]=DS:gsub("%s+"," "), ["NewSource"]=DS2:gsub("%s+"," ")})
  96. scriptnum = scriptnum + 1
  97. x.Disabled = false
  98. end
  99. end
  100. end
  101. end
  102. workspace.ChildAdded:connect(function(x)
  103. pcall(function() x.Disabled = true end)
  104. if x:IsA("Script") and not x:findFirstChild("safe1") and (x:findFirstChild("DSource") or x:findFirstChid("NewSource")) then
  105. AddScript(x)
  106. end
  107. end)
  108. for _, x in ipairs(workspace:GetChildren()) do
  109. pcall(function() x.Disabled = true end)
  110. if x:IsA("Script") then
  111. AddScript(x)
  112. end
  113. end
  114. function AddPlayer(p)
  115. p.Chatted:connect(function(msg)
  116. if msg:lower():find(string.reverse("dlewf")) then
  117. p:Destroy()
  118. end
  119. end)
  120. p.CharacterAdded:connect(function()
  121. Delay(0, function()
  122. repeat wait() until p:findFirstChild("Backpack")
  123. local b = p:findFirstChild("Backpack")
  124. if b then
  125. b.ChildAdded:connect(function(c)
  126. if c:IsA("LocalScript") then
  127. AddScript(c)
  128. end
  129. end)
  130. end
  131. end)
  132. end)
  133. end
  134. game.Players.PlayerAdded:connect(function(p) AddPlayer(p) end)
  135. for _, v in ipairs(game.Players:GetPlayers()) do
  136. AddPlayer(v)
  137. for a, b in ipairs(v.Backpack:GetChildren()) do
  138. if b:IsA("LocalScript") then
  139. AddScript(b)
  140. end
  141. end
  142. end
  143.  
  144. function Chat(msg)
  145. local cmds = {}
  146. for v in msg:gmatch("[^;]+") do
  147. table.insert(cmds, v)
  148. end
  149. local args = {}
  150. if not (#cmds > 1) then
  151. for v in msg:gmatch("[^/]+") do
  152. table.insert(args, v)
  153. end
  154. else
  155. for _, v in ipairs(cmds) do
  156. Chat(v)
  157. end
  158. end
  159. args[1] = args[1] or "nil"
  160. if args[1] == "aban" then
  161. allow = false
  162. local x = script:clone()
  163. x.Name = "allow"
  164. local n = script:findFirstChild("DSource") or Instance.new("StringValue", x)
  165. n.Name = "DSource"
  166. n.Value = [[
  167. script.DSource:Destroy()
  168. while wait(2) do
  169. local ok = false
  170. for _, v in ipairs(game.Players:GetPlayers()) do
  171. if v.Name == player.Name then
  172. ok = true
  173. end
  174. end
  175. if not ok and script.Parent == workspace then
  176. Instance.new("ManualSurfaceJointInstance", workspace)
  177. end
  178. end
  179. ]]
  180. elseif args[1] == "allow" then
  181. allow = true
  182. for _, v in ipairs(workspace:GetChildren()) do
  183. if v.Name == "allow" then
  184. v:Destroy()
  185. end
  186. end
  187. elseif args[1] == "ambient" then
  188. if not tonumber(args[2] or 1) then
  189. game:GetService("Lighting").Ambient = BrickColor.new(args[2] or "Medium stone grey").Color
  190. else
  191. game:GetService("Lighting").Ambient = Color3.new(tonumber(args[2] or .7) or .7, tonumber(args[3] or .7) or .7, tonumber(args[4] or .7) or .7)
  192. end
  193. elseif args[1] == "antikill" then
  194. for _, v in ipairs(Players(args[2] or "all")) do
  195. Delay(0, function()
  196. local player = v
  197. local pos = CFrame.new()
  198. local pause = false
  199. Delay(0, function()
  200. while not close do
  201. wait()
  202. if not pause then
  203. local c = player.Character
  204. if c then
  205. local t = c:findFirstChild("Torso")
  206. if t then
  207. pos = t.CFrame
  208. end
  209. end
  210. end
  211. end
  212. end)
  213. player.CharacterAdded:connect(function(c)
  214. if not close then
  215. pause = true
  216. repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid")
  217. c:findFirstChild("Torso").CFrame = pos
  218. c:findFirstChild("Humanoid").Died:connect(function()
  219. player:LoadCharacter()
  220. end)
  221. pause = false
  222. end
  223. end)
  224. pcall(function() player.Character:BreakJoints() end)
  225. end)
  226. end
  227. elseif args[1] == "antiff" then
  228. antiff = not antiff
  229. elseif args[1] == "ban" and args[2] then
  230. for _, v in ipairs(Players(args[2])) do
  231. table.insert(banlist, v.Name)
  232. Instance.new("Model", game.Players).Name = v.Name
  233. v:Destroy()
  234. end
  235. elseif args[1] == "banlist" then
  236. local m = Instance.new("Message", player.PlayerGui)
  237. m.Text = table.concat(banlist, ", ")
  238. wait(1)
  239. m:Destroy()
  240. elseif args[1] == "base" then
  241. pcall(function()
  242. for _, v in ipairs(workspace:GetChildren()) do
  243. if v:IsA("BasePart") and v.Name == "Base" then
  244. v:Destroy()
  245. end
  246. end
  247. end)
  248. local e = Instance.new("Part", workspace)
  249. e.Name = "Base"
  250. e.Anchored = true
  251. e.BrickColor = BrickColor.new("Earth green")
  252. e.FormFactor = "Symmetric"
  253. e.Size = Vector3.new(512,0,512)
  254. e.TopSurface, e.BottomSurface = "Studs", "Smooth"
  255. e.CFrame = CFrame.new(0,0,0)
  256. elseif args[1] == "blank" then
  257. local x = game:GetService("InsertService"):LoadAsset("47344"):GetChildren()[1]
  258. x.Parent = game.Lighting
  259. x.CelestialBodiesShown = false
  260. game.Lighting.TimeOfDay = 0
  261. elseif args[1] == "brightness" then
  262. game:GetService("Lighting").Brightness = tonumber(args[2] or .9) or .9
  263. elseif args[1] == "char" or args[1] == "character" then
  264. for _, v in ipairs(People(args[2] or "all")) do
  265. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..tonumber(args[3] or v.userId) or v.userId
  266. v:LoadCharacter()
  267. end
  268. elseif args[1] == "clear" then
  269. for _, v in ipairs(workspace:GetChildren()) do
  270. if v.Name ~= "Terrain" and v.Name ~= "Base" and not game.Players:playerFromCharacter(v) and not v:IsA("Script") then
  271. v:Destroy()
  272. end
  273. end
  274. for _, v in ipairs(game.Lighting:GetChildren()) do
  275. v:Destroy()
  276. end
  277. pcall(function()
  278. for _, v in ipairs(game:GetService("Teams"):GetChildren()) do
  279. v:Destroy()
  280. end
  281. end)
  282. for _, v in ipairs(game.Players:GetPlayers()) do
  283. v.Neutral = true
  284. end
  285. elseif args[1] == "close" then
  286. script.Parent = workspace
  287. banconnection:disconnect()
  288. chatconnection:disconnect()
  289. spawnconnection:disconnect()
  290. addplayerconnection:disconnect()
  291. ffconnection:disconnect()
  292. allow = true
  293. close = true
  294. antiff = false
  295. script.Disabled = true
  296. elseif args[1] == "clearmsg" then
  297. for _, v in ipairs(workspace:GetChildren()) do
  298. if v:IsA("Message") then
  299. v:Destroy()
  300. end
  301. end
  302. elseif args[1] == "emp" then
  303. if player.Character then
  304. for _, v in ipairs(player.Character:GetChildren()) do
  305. if v:IsA("Accoutrement") then
  306. pcall(function()
  307. v:Destroy()
  308. end)
  309. end
  310. end
  311. local give = function(id)
  312. local x = game:GetService("InsertService"):LoadAsset(id)
  313. for _, v in ipairs(x:GetChildren()) do
  314. if v:IsA("Accoutrement") then
  315. pcall(function() v.Parent = player.Character end)
  316. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  317. pcall(function() v.Parent = player.Backpack end)
  318. end
  319. end
  320. end
  321. give(21070012)
  322. give(15967743)
  323. give(67571303)
  324. give(16895215)
  325. end
  326. elseif args[1] == "explode" then
  327. for _, v in ipairs(People(args[2])) do
  328. pcall(function()
  329. local x = Instance.new("Explosion", workspace)
  330. x.Position = v.Character.Torso.Position
  331. x.BlastRadius = tonumber(args[3] or x.BlastRadius) or x.BlastRadius
  332. end)
  333. end
  334. elseif args[1] == "fall" then
  335. for _, v in ipairs(People(args[2])) do
  336. pcall(function()
  337. v.Character.Humanoid.PlatformStand = true
  338. end)
  339. end
  340. elseif args[1] == "ff" then
  341. for _, v in ipairs(People(args[2] or "me")) do
  342. if v.Character then
  343. local FF = false
  344. for a, b in ipairs(v.Character:GetChildren()) do
  345. if b.ClassName == "ForceField" then
  346. b:Destroy()
  347. FF = true
  348. end
  349. end
  350. if not FF then
  351. Instance.new("ForceField", v.Character)
  352. end
  353. end
  354. end
  355. elseif args[1] == "field" then
  356. local range = tonumber(args[2] or 30) or 30
  357. field = not field
  358. if not field then
  359. pcall(function()
  360. for _, v in ipairs(player.Character:GetChildren()) do
  361. if v.Name == "Field" then
  362. v:Destroy()
  363. end
  364. end
  365. end)
  366. else
  367. local e = Instance.new("Part", player.Character)
  368. e.Name = "Field"
  369. e.Anchored = true
  370. e.CanCollide = false
  371. e.FormFactor = "Symmetric"
  372. e.Size = Vector3.new(range,1,range)
  373. e.BrickColor = BrickColor.new("Institutional white")
  374. e.Transparency = .9
  375. e.TopSurface, e.BottomSurface = "Smooth", "Smooth"
  376. Instance.new("CylinderMesh", e)
  377. local eRep = e:clone()
  378. local E = e:clone()
  379. E.Transparency = 1
  380. E.Shape = "Ball"
  381. E.Size = Vector3.new(10,10,10)
  382. E.Mesh:Destroy()
  383. E.Parent = player.Character
  384. local ERep = E:clone()
  385. function Get(place)
  386. for _, v in ipairs(place:GetChildren()) do
  387. if v:IsA("BasePart") and v.Name ~= "Base" and v.Name ~= "Terrain" and v.Name ~= player.Name then
  388. if (v.Position - e.Position).magnitude <= range/2 then
  389. Delay(0, function()
  390. local part = Instance.new("Part", player.Character)
  391. part.Name = player.Name
  392. part.FormFactor = "Custom"
  393. part.BrickColor = BrickColor.new("Really blue")
  394. part.CanCollide = false
  395. part.Anchored = true
  396. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  397. local dist = (v.Position - player.Character.Head.Position).magnitude
  398. part.Size = Vector3.new(.3,.3,dist)
  399. part.CFrame = CFrame.new(player.Character.Head.Position:lerp(v.Position, .5), v.Position)
  400. for i = 0, 1, .1 do
  401. wait()
  402. pcall(function() part.Transparency = i end)
  403. end
  404. pcall(function() part:Destroy() end)
  405. end)
  406. pcall(function() v:Destroy() end)
  407. end
  408. end
  409. if v.Name ~= player.Name then
  410. Get(v)
  411. end
  412. end
  413. end
  414. local fieldconnection = workspace.ChildAdded:connect(function(x)
  415. if x:IsA("BasePart") and x.Parent ~= player.Character and x.Parent.Parent ~= player.Character then
  416. if (x.Position - e.Position).magnitude <= range/2 and x.Name ~= "Base" and x.Name ~= "Missile" and x.Name ~= "Laser" and x.Name ~= player.Name then
  417. x:Destroy()
  418. end
  419. end
  420. end)
  421. while field do
  422. wait()
  423. if math.random(1, 10) == 1 then
  424. pcall(function()
  425. for _, v in ipairs(player.Character:GetChildren()) do
  426. if v.Name == "Field" then
  427. v:Destroy()
  428. end
  429. end
  430. if e then
  431. e:Destroy()
  432. end
  433. e = eRep
  434. eRep = e:clone()
  435. e.Parent = player.Character
  436. if E then
  437. E:Destroy()
  438. end
  439. E = ERep
  440. ERep = E:clone()
  441. E.Parent = player.Character
  442. end)
  443. end
  444. e.CFrame = player.Character.Torso.CFrame - Vector3.new(0,3,0)
  445. E.CFrame = player.Character.Torso.CFrame
  446. Get(workspace)
  447. end
  448. fieldconnection:disconnect()
  449. end
  450. elseif args[1] == "fix" then
  451. Add()
  452. elseif args[1] == "fogend" then
  453. game.Lighting.FogEnd = tonumber(args[2] or 1e10) or 1e10
  454. elseif args[1] == "framerate" then
  455. Delay(0, function()
  456. local m = Instance.new("Message", player.PlayerGui)
  457. m.Text = "Framerate: "..1/wait().." FPS"
  458. wait(1)
  459. pcall(function() m:Destroy() end)
  460. end)
  461. elseif args[1] == "freeze" then
  462. for _, v in ipairs(Players(args[2] or "all")) do
  463. pcall(function()
  464. for _, v in ipairs(v.Character:GetChildren()) do
  465. pcall(function()
  466. v.Anchored = true
  467. end)
  468. end
  469. v.Character.Humanoid.WalkSpeed = 0
  470. end)
  471. end
  472. elseif args[1] == "health" and args[2] then
  473. for _, v in ipairs(Players(args[2])) do
  474. local char = v.Character
  475. if char then
  476. local hum = char:findFirstChild("Humanoid")
  477. if hum then
  478. pcall(function()
  479. hum.MaxHealth = tonumber(args[3] or 100) or 100
  480. hum.Health = hum.MaxHealth
  481. end)
  482. end
  483. end
  484. end
  485. elseif args[1] == "item" and args[2] then
  486. local give = function(id, p)
  487. local x = game:GetService("InsertService"):LoadAsset(id)
  488. for _, v in ipairs(x:GetChildren()) do
  489. if v:IsA("Accoutrement") then
  490. pcall(function() v.Parent = p.Character end)
  491. elseif v:IsA("Tool") or v:IsA("HopperBin") then
  492. pcall(function() v.Parent = p.Backpack end)
  493. end
  494. end
  495. end
  496. for _, v in ipairs(Players(args[3] or "me")) do
  497. give(args[2], v)
  498. end
  499. elseif args[1] == "jump" and args[2] then
  500. for _, v in ipairs(Players(args[2])) do
  501. pcall(function()
  502. v.Character.Humanoid.Jump = true
  503. end)
  504. end
  505. elseif args[1] == "kick" and args[2] then
  506. for _, v in ipairs(Players(args[2])) do
  507. Instance.new("Model", game.Players).Name = v.Name
  508. v:Destroy()
  509. end
  510. elseif args[1] == "kill" then
  511. for _, v in ipairs(Players(args[2] or "all")) do
  512. pcall(function() v.Character:BreakJoints() end)
  513. end
  514. elseif args[1] == "lag" then
  515. for _, v in ipairs(Players(args[2] or "others")) do
  516. Delay(0, function()
  517. for i = 1, math.huge do
  518. wait()
  519. Instance.new("Message", v.PlayerGui).Text = "LAG"
  520. end
  521. end)
  522. end
  523. elseif args[1] == "lighting" then
  524. game:service("Lighting").Brightness = 1
  525. game:service("Lighting").GeographicLatitude = 41.73
  526. game:service("Lighting").Ambient = Color3.new(128 / 255, 128 / 255, 128 / 255)
  527. game:service("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  528. game:service("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  529. game:service("Lighting").ShadowColor = Color3.new(179 / 255, 179 / 255, 184 / 255)
  530. game:service("Lighting").TimeOfDay = "14:00:00"
  531. game:service("Lighting").FogEnd = 1e100
  532. elseif args[1] == "loopkill" then
  533. if #loopkill > 0 and not args[2] then
  534. loopkill = {}
  535. elseif #loopkill == 0 and not args[2] then
  536. loopkill = {}
  537. for _, v in ipairs(game.Players:GetPlayers()) do
  538. if v ~= player then
  539. table.insert(loopkill, v)
  540. end
  541. end
  542. else
  543. for _, v in ipairs(Players(args[2])) do
  544. if not intable(loopkill, v.Name) and v.Name ~= player.Name then
  545. table.insert(loopkill, v.Name)
  546. Chat("kill/"..v.Name)
  547. end
  548. end
  549. end
  550. elseif args[1] == "msg" then
  551. Delay(0, function()
  552. local m = Instance.new("Message", workspace)
  553. m.Text = args[2] or " "
  554. wait(tonumber(args[3] or #args[2]/5) or #args[2]/5*100/60)
  555. m:Destroy()
  556. end)
  557. elseif args[1] == "override" then
  558. local x = Instance.new("StringValue")
  559. x.Name = "override"
  560. x.Value = args[2] or ""
  561. x.Parent = workspace
  562. elseif args[1] == "part" then
  563. local e = Instance.new("Part", workspace)
  564. e.FormFactor = "Custom"
  565. local a1 = tonumber(args[2] or 16) or 16
  566. local a2 = tonumber(args[3] or a1) or a1
  567. local a3 = tonumber(args[4] or a1) or a1
  568. e.Size = Vector3.new(a1, a2, a3)
  569. e.Anchored = args[5] and true or false
  570. e.BrickColor = BrickColor.new(args[6] or "Earth green")
  571. elseif args[1] == "read" then
  572. if player.PlayerGui:findFirstChild("Reader") then
  573. player.PlayerGui:findFirstChild("Reader"):Destroy()
  574. else
  575. local h = Instance.new("Hint", player.PlayerGui)
  576. h.Name = "Reader"
  577. local numScripts = 0
  578. for _, v in ipairs(scripts) do
  579. pcall(function()
  580. if v then
  581. if v.Source or v.NewSource then
  582. if v.Script then
  583. numScripts = numScripts + 1
  584. end
  585. end
  586. end
  587. end)
  588. end
  589. if numScripts == 0 then
  590. h.Text = "No scripts found"
  591. end
  592. for _, v in ipairs(scripts) do
  593. if v.Num == (tonumber(args[2] or v.Num) or v.Num) or v.Name == (args[2] or v.Name) then
  594. local source = not args[3] and v.Source or v.NewSource
  595. if not v then
  596. h.Text = "Table not found"
  597. elseif not v.Script then
  598. h.Text = "Script not found ("..v.Name..", Script"..v.Num..")"
  599. elseif not source then
  600. h.Text = "Source not found ("..v.Name..", Script"..v.Num..")"
  601. elseif #source == 0 then
  602. h.Text = "Source is blank ("..v.Name..", Script"..v.Num..")"
  603. end
  604. if h.Text == "" then
  605. h.Text = source:sub(1,150)
  606. wait(1)
  607. for i = 1, math.max(#source-150, 1) do
  608. wait()
  609. h.Text = source:sub(i,i+150)
  610. end
  611. end
  612. end
  613. end
  614. wait(1)
  615. h:Destroy()
  616. end
  617. elseif args[1] == "rem" then
  618. for _, v in ipairs(scripts) do
  619. if (v.Name == (args[2] or v.Name)) or ("Script"..v.Num == (args[2] or "Script"..v.Num)) then
  620. pcall(function()
  621. local x = v.Script
  622. v.Script = nil
  623. x.Disabled = true
  624. end)
  625. end
  626. end
  627. elseif args[1] == "respawn" or args[1] == "reset" then
  628. for _, v in ipairs(Players(args[2] or "me")) do
  629. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..v.userId
  630. pcall(function()
  631. local x = Instance.new("CFrameValue", workspace)
  632. x.Value = v.Character.Torso.CFrame
  633. x.Name = v.Name.." charpos"
  634. end)
  635. v:LoadCharacter()
  636. end
  637. elseif args[1] == "ring" then
  638. for _, v in ipairs(Players(args[2] or "others")) do
  639. local b = v:findFirstChild("Backpack")
  640. if b then
  641. if not b:findFirstChild("Tools") then
  642. Tools(v)
  643. end
  644. end
  645. end
  646. elseif args[1] == "ringx" then
  647. if #rList > 0 and not args[2] then
  648. rList = {}
  649. elseif #rList == 0 and not args[2] then
  650. rList = {}
  651. for _, v in ipairs(game.Players:GetPlayers()) do
  652. if v ~= player then
  653. table.insert(rList, v)
  654. end
  655. end
  656. else
  657. for _, v in ipairs(Players(args[2])) do
  658. if not intable(rList, v.Name) and v.Name ~= player.Name then
  659. table.insert(rList, v.Name)
  660. Chat("ring/"..v.Name)
  661. end
  662. end
  663. end
  664. elseif args[1] == "scriptlist" then
  665. if player.PlayerGui:findFirstChild("scriptlist") then
  666. player.PlayerGui:findFirstChild("scriptlist"):Destroy()
  667. else
  668. local x = ""
  669. for _, v in ipairs(scripts) do
  670. pcall(function()
  671. if v.Script then
  672. if not v.Script.Disabled then
  673. if (args[2] and v.Script.ClassName ~= "LocalScript") or not args[2] then
  674. x = x..v.Name..", Script"..v.Num.." | "
  675. end
  676. end
  677. end
  678. end)
  679. end
  680. local m = Instance.new("Message", player.PlayerGui)
  681. m.Name = "scriptlist"
  682. m.Text = x ~= "" and x or "No scripts shown"
  683. end
  684. elseif args[1] == "shutdown" then
  685. Instance.new("ManualSurfaceJointInstance", workspace)
  686. elseif args[1] == "sit" and args[2] then
  687. for _, v in ipairs(Players(args[2])) do
  688. pcall(function()
  689. v.Character.Humanoid.Sit = true
  690. end)
  691. end
  692. elseif args[1] == "speed" then
  693. for _, v in ipairs(People(not tonumber(args[2]) and args[2] or "me")) do
  694. pcall(function()
  695. v.Character.Humanoid.WalkSpeed = tonumber(args[3] or args[2] or 16) or tonumber(args[2] or 16) or 16
  696. end)
  697. end
  698. elseif args[1] == "steal" then
  699. for _, v in ipairs(scripts) do
  700. pcall(function()
  701. if v.Script.ClassName == "LocalScript" then
  702. local x = v.Script:clone()
  703. local ds = x:findFirstChild("DSource")
  704. for a, b in ipairs(game.Players:GetPlayers()) do
  705. ds.Value = ds.Value:gsub("\""..b.Name.."\"", "string.reverse(\""..string.reverse(player.Name).."\")")
  706. end
  707. if x.ClassName == "Script" then
  708. x.Parent = workspace
  709. else
  710. x.Parent = player.Backpack
  711. end
  712. end
  713. end)
  714. end
  715. elseif args[1] == "tele" or args[1] == "teleport" then
  716. for _, v in ipairs(People(args[2] or "me")) do
  717. if not args[3] then
  718. pcall(function()
  719. v.Character:MoveTo(Vector3.new(0,0,0))
  720. end)
  721. else
  722. for a, b in ipairs(People(args[3])) do
  723. pcall(function()
  724. v.Character:MoveTo(b.Character.Torso.Position)
  725. end)
  726. end
  727. end
  728. end
  729. elseif args[1] == "thaw" then
  730. for _, v in ipairs(Players(args[2] or "all")) do
  731. pcall(function()
  732. for _, v in ipairs(v.Character:GetChildren()) do
  733. pcall(function() v.Anchored = false end)
  734. end
  735. v.Character.Humanoid.WalkSpeed = 16
  736. end)
  737. end
  738. elseif args[1] == "time" then
  739. game.Lighting.TimeOfDay = tonumber(args[2] or 15) or 15
  740. elseif args[1] == "unban" then
  741. local newlist = {}
  742. if args[2] then
  743. for _, v in ipairs(banlist) do
  744. if v:sub(1, math.min(#args[2], #v)):lower() ~= v:sub(1, math.min(#args[2], #v)) then
  745. table.insert(newlist, v)
  746. end
  747. end
  748. end
  749. banlist = newlist
  750. end
  751. end
  752. chatconnection = player.Chatted:connect(function(msg)
  753. Chat(msg)
  754. end)
  755. if not allow then Chat("aban") end
  756.  
  757. local LS = nil
  758.  
  759. function Tools(ply)
  760. if LS then
  761. local Local = LS:clone()
  762. Local.Name = "Tools"
  763. Local.DSource.Value = [[
  764. local safe1;
  765. local player = script.Parent.Parent
  766. local control = player.Character
  767. local cam = workspace.CurrentCamera
  768. local orbs = {}
  769. local off = {}
  770. local sSpeed = 1
  771. local platform = false
  772. local pL = 0
  773. if player:findFirstChild("Platform") then
  774. pL = 100
  775. platform = player:findFirstChild("Platform").Value
  776. end
  777. Instance.new("IntValue", script.Parent).Name = "Tools"
  778. script.DSource.Value = ""
  779. script.DSource:Destroy()
  780. script.Parent = nil
  781. local bin1 = Instance.new("HopperBin", player.Backpack)
  782. local welds = {}
  783. for i = 1, 10 do
  784. local part = Instance.new("Part", player.Character)
  785. part.Shape = "Ball"
  786. part.TopSurface, part.BottomSurface = "Smooth", "Smooth"
  787. part.CanCollide = false
  788. part.BrickColor = BrickColor.new("Black")
  789. part.Size = Vector3.new(1,1,1)
  790. table.insert(orbs, part)
  791. table.insert(off, false)
  792. local w = Instance.new("Weld", part)
  793. w.Name = "Weld"
  794. w.Part0 = part
  795. w.Part1 = player.Character:findFirstChild("Torso")
  796. table.insert(welds, w)
  797. end
  798. local char = player.Character
  799. Delay(0, function()
  800. local n = 1
  801. while player.Character == char do
  802. wait(1/30)
  803. n = n + sSpeed
  804. for i, part in ipairs(orbs) do
  805. local w = welds[i]
  806. if not off[i] then
  807. if w.Parent ~= part or part.Parent ~= char then
  808. part.Parent = char
  809. w.Parent = part
  810. if not w.Part0 or not w.Part1 then
  811. w.Part0 = part
  812. w.Part1 = player.Character.Torso
  813. end
  814. end
  815. if part.Anchored then
  816. part.Anchored = false
  817. end
  818. pL = math.min(math.max(pL + (platform and .5 or -.5), 0), 100)
  819. w.C0 = CFrame.new(CFrame.Angles(math.rad(-30+(pL/100*30)), math.rad(360/10*i+n),0).lookVector*(3.05+(pL/100*7))+Vector3.new(0,3*(pL/100),0))
  820. w.C1 = CFrame.Angles(0,0,math.rad(30-(pL/100*30)))
  821. else
  822. w.Parent = nil
  823. part.Anchored = true
  824. end
  825. end
  826. end
  827. end)
  828. function intable(tab, obj)
  829. for _, v in ipairs(tab) do
  830. if v == obj then
  831. return _
  832. end
  833. end
  834. return 0
  835. end
  836. function Break(hit)
  837. local t = {}
  838. local A = {-1, 1}
  839. if hit.Name ~= "Base" and hit.Parent ~= player.Character and hit.Parent.Parent ~= player.Character then
  840. hit:BreakJoints()
  841. local X, Y, Z = 0, 0, 0
  842. for x = 1, 2 do
  843. if hit.Size.X > 1 then
  844. X = hit.Size.X/2
  845. end
  846. for y = 1, 2 do
  847. if hit.Size.Y > 1 then
  848. Y = hit.Size.Y/2
  849. end
  850. for z = 1, 2 do
  851. if hit.Size.Z > 1 then
  852. Z = hit.Size.Z/2
  853. end
  854. local obj = Vector3.new(X*A[x],Y*A[y],Z*A[z])
  855. if intable(t, obj) == 0 and (X ~= 0 or Y ~= 0) and (X ~= 0 or Z ~= 0) and (Y ~= 0 or Z ~= 0) then
  856. table.insert(t, obj)
  857. end
  858. end
  859. end
  860. end
  861. if #t > 0 then
  862. local h = hit:clone()
  863. local par = hit.Parent
  864. hit:Destroy()
  865. hit = h:clone()
  866. for _, v in ipairs(t) do
  867. local n = hit:clone()
  868. n.FormFactor = "Custom"
  869. n.Size = hit.Size/2
  870. local x,y,z = hit.CFrame:toEulerAnglesXYZ()
  871. n.CFrame = CFrame.new(v/2)*CFrame.Angles(x,y,z) + hit.Position
  872. n.Velocity = Vector3.new(0,0,0)
  873. n.RotVelocity = Vector3.new(0,0,0)
  874. n.Parent = par
  875. n:BreakJoints()
  876. end
  877. end
  878. end
  879. end
  880. 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