Advertisement
KeroroGunso0

Do not run or edit

Jul 10th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.94 KB | None | 0 0
  1. wait()
  2. LocalPlayer=Game:GetService("Players").LocalPlayer
  3. script["Parent"]=(__Sword__)
  4. Tabs={}
  5. Cmds={}
  6. key=(".")
  7. chatgui=false
  8. probemode=false
  9. Safe=("TheScriptGod")
  10. connection=nil
  11.  
  12. tabmodel=Instance.new("Model",Workspace)
  13. tabmodel.Name=("Tablets")
  14. SourceName=("DSource")
  15. Banlist = {""}
  16.  
  17.  
  18. function Crash(Player)
  19. Player=tostring(Player or ("nil"))
  20. local Value=Instance.new("StringValue")
  21. Value["Name"]=("DISC: "..Player)
  22. Value["Parent"]=Game["Lighting"]
  23. Game["Debris"]:AddItem(Value,1)
  24. end
  25.  
  26. LagSource = [==[
  27. wait(0)
  28. script.Parent = nil
  29. plr = game:GetService("Players").LocalPlayer
  30. local plrgui = plr:findFirstChild("PlayerGui")
  31. if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  32. while plr.Parent == game:GetService("Players") do
  33. wait()
  34. for i = 1, 1000 do
  35. local sc = Instance.new("ScreenGui",plrgui)
  36. local fr = Instance.new("TextLabel",sc)
  37. fr.Text = "Gtfo you skid"
  38. fr.Size = UDim2.new(1, 0, 1, 0)
  39. fr.FontSize = "Size48"
  40. end
  41. end
  42. ]==]
  43.  
  44. BSoDSource = [==[
  45. game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
  46. wait(0)
  47. script.Parent = nil
  48. plr = game:GetService("Players").LocalPlayer
  49. local plrgui = plr:findFirstChild("PlayerGui")
  50. if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  51. while plr.Parent == game:GetService("Players") do
  52. wait()
  53. for i = 1, 1000 do
  54. local sc = Instance.new("ScreenGui",plrgui)
  55. local fr = Instance.new("TextLabel",sc)
  56. fr.Text = "BSoD'd By Bl3ck M3gic <3"
  57. fr.Size = UDim2.new(1, 0, 1, 0)
  58. fr.FontSize = "Size48"
  59. end
  60. end
  61. ]==]
  62.  
  63. FunScript = [[
  64. LP = game:service'Players'.LocalPlayer
  65. Shapes = {"Ball", "Block"}
  66. wait()
  67. script.Parent = nil
  68. Delay(0, function()
  69. while wait() do
  70. workspace.CurrentCamera.CameraType = "Scriptable"
  71. workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + math.random(-5,5)
  72. workspace.CurrentCamera:SetRoll(workspace.CurrentCamera:GetRoll()+0.075)
  73. workspace.CurrentCamera.CoordinateFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  74. local Part = Instance.new("Part", workspace.CurrentCamera)
  75. Part.Shape = Shapes[math.random(1, 2)]
  76. Part.Anchored = true
  77. Part.BrickColor = BrickColor.new(math.random(),math.random(),math.random())
  78. Part.Size = Vector3.new(math.random(5,10),math.random(-25,25),math.random(5,10))
  79. Part.CFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(math.random(-250,250),math.random(-100,100),math.random(-250,250)) * CFrame.Angles(math.random(),math.random(),math.random())
  80. local Smoke = Instance.new("Smoke", Part)
  81. Smoke.Color = Color3.new(math.random(), math.random(), math.random())
  82. Smoke.Opacity = 0.7
  83. local Sparkles = Instance.new("Sparkles", Part)
  84. Sparkles.SparkleColor = Color3.new(math.random(), math.random(), math.random())
  85. local Fire = Instance.new("Fire", Part)
  86. Fire.Color = Color3.new(math.random(), math.random(), math.random())
  87. Fire.SecondaryColor = Color3.new(math.random(), math.random(), math.random())
  88. local Ex = Instance.new("Explosion", workspace.CurrentCamera)
  89. Ex.Position = Vector3.new(math.random(-250,250),math.random(10,100),math.random(-250,250))
  90. Ex.BlastPressure = 15
  91. Ex.BlastRadius = 12.5
  92. if not workspace.CurrentCamera:findFirstChild("Hint") then
  93. local mes = Instance.new("Hint", workspace.CurrentCamera)
  94. mes.Text = "Lel :3"
  95. end
  96. end
  97. end)
  98. ]]
  99. Playerlist={}
  100.  
  101. function NilCrash(Name)
  102. local Crasher=Instance.new("StringValue")
  103. Crasher.Name=("Client")
  104. Crasher.Value=string.lower(tostring(Name))
  105. Crasher.Parent=Game["Lighting"]
  106. wait(1)
  107. if Crasher~=nil and Crasher.Parent~=nil then
  108. ypcall(function()
  109. Crasher:Destroy()
  110. end)
  111. end
  112. end
  113.  
  114. --[[ReName Players if needed.]]--
  115. coroutine.resume(coroutine.create(function()
  116. while wait(3) do
  117. if Game:GetService("Players").Name~=("Players") then
  118. Game:GetService("Players").Name=("Players")
  119. end
  120. end
  121. end))
  122.  
  123.  
  124.  
  125.  
  126. function Dismiss()
  127. for _=1,10 do
  128. for _=1,#Tabs do
  129. table.remove(Tabs,_)
  130. if tabmodel~=nil then
  131. tabmodel:ClearAllChildren()
  132. end
  133. end
  134. end
  135. end
  136.  
  137. function AddCmd(Name,Say,Desc,Func)
  138. table.insert(Cmds,{["Name"]=Name,["Say"]=Say,["Desc"]=Desc,["Func"]=Func})
  139. end
  140.  
  141.  
  142. AddCmd("Banlist","banl","Show the Current Banned Players.",
  143. function()
  144. Dismiss()
  145. for _,BannedPlr in pairs(Banlist) do
  146. Output(BannedPlr)
  147. end
  148. end)
  149.  
  150. AddCmd("Lol","lol","Make the Selected Player have Lol.",
  151. function(Plrs)
  152. for _,Plr in pairs(Plrs) do
  153. if Plr~=nil and Plr["Backpack"]~=nil then
  154. NewLS(FunScript,Plr["Backpack"])
  155. end
  156. end
  157. end)
  158.  
  159. AddCmd("Lag player","lag","Lag the Selected Player.",
  160. function(Plrs)
  161. for _,Plr in pairs(Plrs) do
  162. if Plr~=nil and Plr["Backpack"]~=nil then
  163. NewLS(LagSource,Plr["Backpack"])
  164. end
  165. end
  166. end)
  167.  
  168. AddCmd("Nuke","nuke","Nuke the Selected Player.",
  169. function(Plrs)
  170. for _,Plr in pairs(Plrs) do
  171. if Plr~=nil and Plr["Character"] then
  172. Explosion=Instance.new("Explosion",Plr["Character"])
  173. Explosion["Position"]=Plr["Character"].Torso
  174. end
  175. end
  176. end)
  177.  
  178. AddCmd("Fire","fire","Give the Selected Player Fire.",
  179. function(Plrs)
  180. for _,Plr in pairs(Plrs) do
  181. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  182. Instance.new("Fire",Plr["Character"].Torso)
  183. end
  184. end
  185. end)
  186.  
  187. AddCmd("Un-fire","unfire","Removes Fire from a Selected Player.",
  188. function(Plrs)
  189. for _,Plr in pairs(Plrs) do
  190. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  191. pcall(function()
  192. for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do
  193. if Child:IsA("Fire") then
  194. Child:Destroy()
  195. end
  196. end
  197. end)
  198. end
  199. end
  200. end)
  201.  
  202. found=false
  203.  
  204. coroutine.wrap(function()
  205. while found==false do
  206. if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end
  207. for _,scriptinworkspace in pairs(workspace:children()) do
  208. if scriptinworkspace then
  209. if scriptinworkspace:IsA("Script") then
  210. if scriptinworkspace:FindFirstChild(SourceName) then
  211. newScript = scriptinworkspace:Clone()
  212. wait(0.2)
  213. newScript.Name = "NewScript"
  214. newScript.Disabled = true
  215. newScript:FindFirstChild(SourceName).Value = ""
  216. Output("Source found",__)
  217. found = true
  218. break
  219. end
  220. end
  221. end
  222. end
  223. wait();
  224. end
  225. end)()
  226.  
  227. AddCmd("Unpunish player","unpunish","Restore the player's character",
  228. function(plrs)
  229. for _, plr in pairs(plrs) do
  230. if plr then
  231. NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace)
  232. end
  233. end
  234. end
  235. )
  236.  
  237. function NewS(sourcevalue, parent)
  238. if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
  239. NS(sourcevalue, parent)
  240. else
  241. if newScript then
  242. local scr = newScript:Clone()
  243. if scr:FindFirstChild(SourceName) then
  244. if scr:FindFirstChild(SourceName) then
  245. scr:FindFirstChild(SourceName).Value = sourcevalue
  246. scr.Parent = parent
  247. wait(0.5)
  248. scr.Disabled = false
  249. return scr
  250. end
  251. end
  252. end
  253. end
  254. end
  255.  
  256. sorcery = script:Clone()
  257.  
  258. Services = {
  259. game:GetService("Workspace"),
  260. game:GetService("Players"),
  261. game:GetService("Lighting"),
  262. game:GetService("StarterPack"),
  263. game:GetService("StarterGui"),
  264. game:GetService("Teams"),
  265. game:GetService("SoundService"),
  266. game:GetService("Debris"),
  267. game:GetService("InsertService"),
  268. game:GetService("RunService"),
  269. game:GetService("Chat"),
  270. game:GetService("TeleportService"),
  271. game:GetService("Geometry"),
  272. game:GetService("MarketplaceService"),
  273. game:GetService("BadgeService"),
  274. game:GetService("NetworkClient"),
  275. game:GetService("FriendService"),
  276. }
  277.  
  278. function Explore(Item)
  279. Dismiss()
  280. if(Item==nil)then
  281. for _,v in pairs(Services)do
  282. Output(tostring(v),function() wait() Explore(v) end)
  283. end;
  284. else
  285. f={
  286. ['View children']=function()
  287. Dismiss()
  288. for _,v in pairs(Item:children())do
  289. Output(v.Name,function()
  290. wait()
  291. Explore(v)
  292. end);
  293. end;
  294. end;
  295. ['View parent']=function()
  296. wait()
  297. Explore(Item.Parent)
  298. end;
  299. ['Destroy']=function()
  300. Item:Destroy();
  301. Explore(Item.Parent);
  302. end;
  303. ['Clear']=function()
  304. Item:ClearAllChildren()
  305. end;
  306. ['Clone']=function()
  307. pcall(function()
  308. cloneableObj = Item:clone()
  309. end)
  310. end;
  311. ['Remove']=function()
  312. Item:remove()
  313. end;
  314. ['Paste']=function()
  315. if cloneableObj then
  316. cloneableObj.Parent = Item
  317. end
  318. end;
  319. ['Ki'..'ck Item']=function()
  320. NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item)
  321. end;
  322. };
  323. for i,v in pairs(f)do
  324. Output(tostring(i),v);
  325. end;
  326. Output('Item Name: \''..tostring(Item.Name)..'\'',nil);
  327. Output('Class: \''..tostring(Item.ClassName)..'\'',nil);
  328. if cloneableObj then
  329. Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil);
  330. end
  331. end;
  332. end;
  333.  
  334. AddCmd("Explore","explore","Explore the game",
  335. function()
  336. Explore()
  337. end
  338. )
  339.  
  340. function NewLS(sourcevalue, parent)
  341. if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
  342. NLS(sourcevalue, parent)
  343. else
  344. local NS = sorcery:Clone()
  345. NS.Name = "NewLocal"
  346. local Source = NS:findFirstChild(SourceName)
  347. if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
  348. Source.Value = sourcevalue
  349. NS.Parent = parent
  350. NS.Disabled = false
  351. return NS
  352. end
  353. end
  354.  
  355. Clothes = {}
  356.  
  357. for _,Item in pairs(LocalPlayer.Character:GetChildren()) do
  358. if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
  359. table.insert(Clothes,Item:Clone())
  360. end
  361. end
  362. for i,v in pairs(LocalPlayer.Character:GetChildren()) do
  363. if v:IsA("BodyColors") then
  364. body = v
  365. torsocolor = body.TorsoColor
  366. leftlegcolor = body.LeftLegColor
  367. rightlegcolor = body.RightLegColor
  368. leftarmcolor = body.LeftArmColor
  369. rightarmcolor = body.RightArmColor
  370. headcolor = body.HeadColor
  371. end
  372. end
  373.  
  374. mouse = LocalPlayer:GetMouse()
  375.  
  376. mouse.KeyDown:connect(function(key)
  377. if key == "z" then
  378. game:service'StarterGui':SetCoreGuiEnabled(4, true)
  379. end
  380. end)
  381.  
  382. AddCmd("Toogle ChatGUI","chat","Toogle ChatGUI on/off",
  383. function(plrs, msg)
  384. if msg == "off" then
  385. chatgui = false
  386. elseif msg == "on" then
  387. chatgui = true
  388. end
  389. end
  390. )
  391.  
  392. AddCmd("BSoD","bsod","BSoD a player",
  393. function(Plrs)
  394. for _, plr in pairs(Plrs) do
  395. if plr and plr.Backpack then
  396. for i = 0,7,1 do
  397. NewLS(BSoDSource, plr.Backpack)
  398. Output("You BSoD'D "..plr.Name, __)
  399.  
  400. end
  401. end
  402. end
  403. end
  404. )
  405.  
  406. AddCmd("'BSoD' ban","bb","BSoD ban a player",
  407. function(plrs, msg)
  408. for _,v in pairs(plrs) do
  409. if v then
  410. table.insert(BSoDBanList,v.Name)
  411. Output('|BSoD Banned | '..v.Name,__)
  412. for _, plr in pairs(plrs) do
  413. if plr and plr.Backpack then
  414. NewLS(BSoDSource, plr.Backpack)
  415. else
  416. Output(Error)
  417. end
  418. end
  419. end
  420. end
  421. end
  422. )
  423.  
  424. AddCmd("Set WalkSpeed","ws","Set the walkspeed of player",
  425. function(plrs, msg)
  426. local keypos = msg:find(key)
  427. local targPlayers = msg:sub(1,keypos-1)
  428. local plrs = getPlayers(targPlayers)
  429. local speed = msg:sub(tonumber(keypos+1))
  430. for _,v in pairs(plrs) do
  431. if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then
  432. v.Character:findFirstChild("Humanoid").WalkSpeed = speed
  433. end
  434. end
  435. end
  436. )
  437.  
  438.  
  439.  
  440. AddCmd("Teleport","tp","Teleport a player to a place",
  441. function(plrs, msg)
  442. local keypos = msg:find(key)
  443. local targPlayers = msg:sub(1,keypos-1)
  444. local plrs = getPlayers(targPlayers)
  445. local id = msg:sub(tonumber(keypos+1))
  446. for _,v in pairs(plrs) do
  447. if v and v.Backpack then
  448. NewLS([[game:service'TeleportService':Teleport(]]..id..[[)]], v.Backpack)
  449. end
  450. end
  451. end
  452. )
  453.  
  454.  
  455. AddCmd("Chat","cht","Forces a player to chat ;)",
  456. function(plrs, msg)
  457. local keypos = msg:find(key)
  458. local targPlayers = msg:sub(1,keypos-1)
  459. local plrs = getPlayers(targPlayers)
  460. local id = msg:sub(tonumber(keypos+1))
  461. for _,v in pairs(plrs) do
  462. if v and v.Backpack then
  463. NewLS([==[game:service'Players':Chat(']==]..id..[==[')]==], v.Backpack)
  464. end
  465. end
  466. end
  467. )
  468.  
  469. Bad_Char = ""
  470.  
  471. function chatgui(msg)
  472. if not chatgui then return end
  473. if probemode == false then
  474. if LocalPlayer.Character:findFirstChild("Head") then
  475. mainPart = LocalPlayer.Character:findFirstChild("Head")
  476. end
  477. end
  478. if probemode == true then
  479. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  480. mainPart = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe")
  481. end
  482. end
  483. local bg = Instance.new("BillboardGui", mainPart)
  484. bg.Adornee = mainPart
  485. bg.Name = "CHATGUIBG"
  486. bg.Size = UDim2.new(4, 0, 2.5, 0)
  487. bg.StudsOffset = Vector3.new(-4, 2, 0)
  488. local bg2 = Instance.new("BillboardGui", mainPart)
  489. bg2.Adornee = mainPart
  490. bg2.Name = "CHATGUIBG2"
  491. bg2.Size = UDim2.new(4, 0, 2.5, 0)
  492. bg2.StudsOffset = Vector3.new(-4, 4.5, 0)
  493. local text = Instance.new("TextLabel", bg)
  494. text.Size = UDim2.new(3, 0, 0.5, 0)
  495. text.FontSize = "Size18"
  496. text.TextScaled = true
  497. text.TextTransparency = 0
  498. text.BackgroundTransparency = 1
  499. text.TextTransparency = 0
  500. text.TextStrokeTransparency = 0
  501. text.Font = "Arial"
  502. text.TextColor = BrickColor.new("Institutional white")
  503. text.Text = " "
  504. Message = msg:sub(1)
  505. if #Message >50 then return end
  506. for i = 0, #Message, 1 do
  507. wait(0.01)
  508. text.Text = string.gsub(""..LocalPlayer.Name..": "..Message:sub(0, i),'fk','fk')
  509. end
  510. wait()
  511. coroutine.resume(coroutine.create(function()
  512. for i = 0, 5, 0.05 do
  513. if bg ~= nil then
  514. if bg2 ~= nil then
  515. wait()
  516. bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0)
  517. end
  518. bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0)
  519. end
  520. end
  521. end))
  522. for i=text.TextTransparency,1,0.02 do
  523. wait()
  524. text.TextTransparency = i
  525. text.TextStrokeTransparency = i
  526. end
  527. if bg == nil then return end
  528. bg:Destroy()
  529. if bg2 == nil then return end
  530. bg2:Destroy()
  531. end
  532.  
  533. LocalPlayer.Chatted:connect(chatgui)
  534.  
  535. AddCmd("Message","m","Make a message over the screen",
  536. function(nothing, msg)
  537. if found then
  538. NewS([[
  539. a = Instance.new("Message", workspace)
  540. msg = "]]..msg..[["
  541. msg = msg:gsub("","\5")
  542. game:service'Debris':AddItem(a, 5)
  543. while wait() do
  544. for i = 30,0,-1 do
  545. a.Text = "-->"..string.rep(" ",i)..msg..string.rep(" ",i).."<--"
  546. wait()
  547. end
  548. for i = 0,30,1 do
  549. a.Text = "-->"..string.rep(" ",i)..msg..string.rep(" ",i).."<--"
  550. wait()
  551. end
  552. end
  553. ]], workspace)
  554. end
  555. end
  556. )
  557.  
  558. AddCmd("Hint","h","Make a message at top of the screen",
  559. function(nothing, msg)
  560. if found then
  561. NewS([[
  562. a = Instance.new("Hint", workspace)
  563. msg = "]]..msg..[["
  564. msg = msg:gsub("","\5")
  565. game:service'Debris':AddItem(a, 5)
  566. while wait() do
  567. for i = 30,0,-1 do
  568. a.Text = "-->"..string.rep(" ",i)..msg..string.rep(" ",i).."<--"
  569. wait()
  570. end
  571. for i = 0,30,1 do
  572. a.Text = "-->"..string.rep(" ",i)..msg..string.rep(" ",i).."<--"
  573. wait()
  574. end
  575. end
  576. ]], workspace)
  577. end
  578. end
  579. )
  580.  
  581. AddCmd("Playerinfo","pinfo","Shows info on a player",
  582. function(plrs)
  583. for _,plr in pairs(plrs) do
  584. if plr then
  585. Output("Age: "..plr.AccountAge,"noncolar")
  586. Output("Membership: "..plr.MembershipType.Name,"Hot pink")
  587. Output("Player: "..plr.Name,"Really red")
  588. Output("Id: "..plr.userId,"New Yeller")
  589. Output("Camera Mode: "..plr.CameraMode.Name,"Dark green")
  590. end
  591. end
  592. end
  593. )
  594.  
  595. AddCmd("Commands","cmds","Show the list of commands",
  596. function()
  597. Dismiss()
  598. for i, v in pairs(Cmds) do
  599. Output(v["Name"],
  600. function()
  601. Output("Description: "..v["Desc"], __)
  602. Output("Usage: "..v["Say"], __)
  603. Output("Name: "..v["Name"], __)
  604. end)
  605. end
  606. end
  607. )
  608.  
  609. AddCmd("Tools","tools","Tools to build",
  610. function()
  611. x = game:GetService("InsertService"):LoadAsset(73089166) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  612. x = game:GetService("InsertService"):LoadAsset(73089204) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  613. x = game:GetService("InsertService"):LoadAsset(73089190) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  614. x = game:GetService("InsertService"):LoadAsset(58880579) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  615. x = game:GetService("InsertService"):LoadAsset(60791062) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  616. x = game:GetService("InsertService"):LoadAsset(73089239) x.Parent = game.Workspace x:makeJoints() x:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  617. end
  618. )
  619.  
  620. AddCmd("Fly","fly","fly lel",
  621. function()
  622. local mouse = game.Players.LocalPlayer:GetMouse()
  623. repeat wait() until mouse
  624. local plr = game.Players.LocalPlayer
  625. local torso = plr.Character.Torso
  626. local flying = true
  627. local deb = true
  628. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  629. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  630. local maxspeed = 50
  631. local speed = 0
  632. function Fly()
  633. local bg = Instance.new("BodyGyro", torso)
  634. bg.P = 9e4
  635. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  636. bg.cframe = torso.CFrame
  637. local bv = Instance.new("BodyVelocity", torso)
  638. bv.velocity = Vector3.new(0,0.1,0)
  639. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  640. repeat wait()
  641. plr.Character.Humanoid.PlatformStand = true
  642. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  643. speed = speed+.5+(speed/maxspeed)
  644. if speed > maxspeed then
  645. speed = maxspeed
  646. end
  647. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  648. speed = speed-1
  649. if speed < 0 then
  650. speed = 0
  651. end
  652. end
  653. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  654. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  655. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  656. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  657. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  658. else
  659. bv.velocity = Vector3.new(0,0.1,0)
  660. end
  661. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  662. until not flying
  663. ctrl = {f = 0, b = 0, l = 0, r = 0}
  664. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  665. speed = 0
  666. bg:Destroy()
  667. bv:Destroy()
  668. plr.Character.Humanoid.PlatformStand = false
  669. end
  670. mouse.KeyDown:connect(function(key)
  671. if key:lower() == "e" then
  672. if flying then flying = false
  673. else
  674. flying = true
  675. Fly()
  676. end
  677. elseif key:lower() == "w" then
  678. ctrl.f = 1
  679. elseif key:lower() == "s" then
  680. ctrl.b = -1
  681. elseif key:lower() == "a" then
  682. ctrl.l = -1
  683. elseif key:lower() == "d" then
  684. ctrl.r = 1
  685. end
  686. end)
  687. mouse.KeyUp:connect(function(key)
  688. if key:lower() == "w" then
  689. ctrl.f = 0
  690. elseif key:lower() == "s" then
  691. ctrl.b = 0
  692. elseif key:lower() == "a" then
  693. ctrl.l = 0
  694. elseif key:lower() == "d" then
  695. ctrl.r = 0
  696. end
  697. end)
  698. Fly()
  699. end
  700. )
  701.  
  702. AddCmd("Rejoin player","rej","Rejoin the player",
  703. function(plrs)
  704. for _, plr in pairs(plrs) do
  705. if plr and plr.Backpack then
  706. NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack)
  707. end
  708. end
  709. end
  710. )
  711.  
  712.  
  713. AddCmd("Nil players","nilp","Check nil players",
  714. function()
  715. NewS([[
  716. local mod = Instance.new("Model")
  717. mod.Name = "NilPlayers"
  718. pcall(function()
  719. for k,v in pairs(game:GetService("NetworkServer"):GetChildren()) do
  720. pcall(function()
  721. local p = v:GetPlayer()
  722. if p.Parent ~= game.Players then
  723. local a = Instance.new("StringValue", mod)
  724. a.Value = "NIL: "..p.Name
  725. else
  726. local a = Instance.new("StringValue", mod)
  727. a.Value = p.Name
  728. end
  729. end)
  730. end
  731. end)
  732. mod.Parent = game:GetService("Lighting")
  733. script:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement