Advertisement
Scriptorz5

[LEAKED]Tree tabs Unknown generation

May 15th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.22 KB | None | 0 0
  1. LocalPlayer = game:GetService("Players").LocalPlayer
  2. script.Parent = __Air__
  3. Tabs = {}
  4. Cmds = {}
  5. key = "/"
  6. chatgui = true
  7. probemode = false
  8. connection = nil
  9.  
  10.  
  11. Banlist = {}
  12. Playerlist = {}
  13.  
  14. tabmodel = Instance.new("Model", Workspace)
  15. tabmodel.Name = "Air admin"
  16. SourceName = "DSource"
  17. --[[
  18. SourceNames:
  19. Alakazard: 'source'
  20. Anaminus: 'DSource'
  21. AntiBoomz0r: 'Source'
  22. ]]--
  23.  
  24.  
  25.  
  26. function Crash(name)
  27. name = tostring(name or "nil")
  28. local t = Instance.new("StringValue")
  29. t.Name = "DISC: "..name
  30. t.Parent = game.Lighting
  31. game:GetService("Debris"):AddItem(t,1)
  32. end
  33.  
  34. function Connect(player)
  35. if game.Players[player.Name] then
  36. if not Playerlist[player.Name] then
  37. NewLS(CrashSource,player:findFirstChild("Backpack"))
  38. table.insert(Playerlist,player.Name)
  39. Output('Connected | '..player.Name,__)
  40. end
  41. end
  42. end
  43. BSoDSource = [==[
  44. game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
  45. wait(0)
  46. script.Parent = nil
  47. plr = game:GetService("Players").LocalPlayer
  48. local plrgui = plr:findFirstChild("PlayerGui")
  49. if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  50. while plr.Parent == game:GetService("Players") do
  51. wait()
  52. for i = 1, 1000 do
  53. local sc = Instance.new("ScreenGui",plrgui)
  54. local fr = Instance.new("TextLabel",sc)
  55. fr.Text = "Turn off your computer now1111"
  56. fr.Size = UDim2.new(1, 0, 1, 0)
  57. fr.FontSize = "Size48"
  58. end
  59. end
  60. ]==]
  61.  
  62. l0lsource = [[
  63. LP = game:service'Players'.LocalPlayer
  64. Shapes = {"Ball", "Block"}
  65. wait()
  66. script.Parent = nil
  67. Delay(0, function()
  68. while wait() do
  69. workspace.CurrentCamera.CameraType = "Scriptable"
  70. workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + math.random(-5,5)
  71. workspace.CurrentCamera:SetRoll(workspace.CurrentCamera:GetRoll()+0.075)
  72. workspace.CurrentCamera.CoordinateFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  73. local Part = Instance.new("Part", workspace.CurrentCamera)
  74. Part.Shape = Shapes[math.random(1, 2)]
  75. Part.Anchored = true
  76. Part.BrickColor = BrickColor.new(math.random(),math.random(),math.random())
  77. Part.Size = Vector3.new(math.random(5,10),math.random(-25,25),math.random(5,10))
  78. 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())
  79. local Smoke = Instance.new("Smoke", Part)
  80. Smoke.Color = Color3.new(math.random(), math.random(), math.random())
  81. Smoke.Opacity = 0.7
  82. local Sparkles = Instance.new("Sparkles", Part)
  83. Sparkles.SparkleColor = Color3.new(math.random(), math.random(), math.random())
  84. local Fire = Instance.new("Fire", Part)
  85. Fire.Color = Color3.new(math.random(), math.random(), math.random())
  86. Fire.SecondaryColor = Color3.new(math.random(), math.random(), math.random())
  87. local Ex = Instance.new("Explosion", workspace.CurrentCamera)
  88. Ex.Position = Vector3.new(math.random(-250,250),math.random(10,100),math.random(-250,250))
  89. Ex.BlastPressure = 15
  90. Ex.BlastRadius = 12.5
  91. if not workspace.CurrentCamera:findFirstChild("Hint") then
  92. local mes = Instance.new("Hint", workspace.CurrentCamera)
  93. mes.Text = "lolk"
  94. end
  95. end
  96. end)
  97. ]]
  98.  
  99.  
  100. LagSource = [[
  101. wait()
  102. script.Parent = game:service'TeleportService'
  103. CC = workspace.CurrentCamera
  104. game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
  105.  
  106. RS = game:service("RunService")
  107. PG = game.Players.LocalPlayer.PlayerGui
  108. C = game.Players.LocalPlayer.Character
  109. function Lag()
  110. coroutine.resume(coroutine.create(function()
  111. while wait() do
  112. M = Instance.new("Message",CC)
  113. M.Text = tick()*math.floor(5%4*21)
  114. H = Instance.new("Hint",CC)
  115. H.Text = 'I think I'ma cum daddy :)'
  116. SG=Instance.new("ScreenGui",PG)
  117. FR=Instance.new("Frame",SG)
  118. FR.Size = UDim2.new(500,500,500,500)
  119. while wait() do
  120. FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  121. end
  122. P=Instance.new("Part",CC)
  123. E=Instance.new("Explosion",P)
  124. E.BlastRadius=math.huge
  125. E.Position=P.Position
  126. F=Instance.new("Fire",P)
  127. S=Instance.new("Smoke",P)
  128. P.CFrame = CC.Focus
  129. P.Anchored = true
  130. P.CanCollide = false
  131. P.AncestryChanged:connect(function()Lag()end)
  132. for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
  133. end
  134. end))
  135. end
  136. RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)
  137. ]]
  138.  
  139. coroutine.resume(coroutine.create(function()
  140. while wait(3) do
  141. if game:GetService("Players").Name ~= "Players" then
  142. game:GetService("Players").Name = "Players"
  143. end
  144. end
  145. end))
  146.  
  147. function Dismiss()
  148. for i = 1, 10 do
  149. for i = 1, #Tabs do
  150. table.remove(Tabs, i)
  151. if tabmodel then
  152. tabmodel:ClearAllChildren()
  153. end end end
  154. end
  155.  
  156. function AddCmd(Name,Say,Desc,Func)
  157. table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func})
  158. end
  159.  
  160.  
  161.  
  162. AddCmd("Banlist","bl","Show the banned players",
  163. function()
  164. Dismiss()
  165. for i, v in pairs(Banlist) do
  166. Output(v["Name"]..' - BRank: '..v["BRank"], __)
  167. end
  168. end
  169. )
  170.  
  171. AddCmd("l0ls a playr","high","make a playr high lollol",
  172. function(plrs)
  173. for _, plr in pairs(plrs) do
  174. if plr and plr.Backpack then
  175. NewLS(l0lsource, plr.Backpack)
  176. end
  177. end
  178. end
  179. )
  180.  
  181. AddCmd("Kill player","kill","Kill a player",
  182. function(plrs)
  183. for _, plr in pairs(plrs) do
  184. if plr and plr.Character then
  185. plr.Character:BreakJoints()
  186. end
  187. end
  188. end
  189. )
  190.  
  191. AddCmd("Easy-crash","ecrash","Easy-crash a player",
  192. function(Plrs)
  193. for _,plr in pairs(Plrs) do
  194. if plr and plr.Backpack then
  195. NewLS("repeat until false",plr.Backpack)
  196. end
  197. end
  198. end
  199. )
  200.  
  201.  
  202. AddCmd("Lag player","lag","Lag a player",
  203. function(plrs)
  204. for _, plr in pairs(plrs) do
  205. if plr and plr.Backpack then
  206. NewLS(LagSource, plr.Backpack)
  207. end
  208. end
  209. end
  210. )
  211.  
  212.  
  213. AddCmd("Set a BSOD skybox","bbox","Sets a bsod skybox",
  214. function()
  215. function getAll(obj)
  216. for i, v in pairs(obj:getChildren()) do
  217. if v:IsA("BasePart") then
  218. v.Anchored = false
  219. v.BrickColor = BrickColor.new(0)
  220. bv = Instance.new("BodyVelocity")
  221. bv.Parent = v
  222. bv.maxForce = Vector3.new(100000000,100000000,100000000)
  223. end
  224. getAll(v)
  225. end
  226. end
  227. getAll(workspace)
  228. game.Lighting.TimeOfDay = "07:00:00"
  229. game.Lighting.Ambient = Color3.new(0,0,0)
  230. sky = Instance.new("Sky")
  231. sky.Parent = game.Lighting
  232. sky.SkyboxBk = "http://www.roblox.com/asset/?id=22895445"
  233. sky.SkyboxDn = "http://www.roblox.com/asset/?id=22895445"
  234. sky.SkyboxFt = "http://www.roblox.com/asset/?id=22895445"
  235. sky.SkyboxLf = "http://www.roblox.com/asset/?id=22895445"
  236. sky.SkyboxRt = "http://www.roblox.com/asset/?id=22895445"
  237. sky.SkyboxUp = "http://www.roblox.com/asset/?id=22895445"
  238. end
  239. )
  240.  
  241.  
  242.  
  243. AddCmd("Nuke","nuke","Nuke a player",
  244. function(plrs)
  245. for _, plr in pairs(plrs) do
  246. if plr and plr.Character then
  247. a = Instance.new("Explosion", plr.Character)
  248. a.Position = plr.Character.Torso
  249. end
  250. end
  251. end
  252. )
  253.  
  254. AddCmd("Fire","fire","Fire a player",
  255. function(plrs)
  256. for _, plr in pairs(plrs) do
  257. if plr and plr.Character and plr.Character.Torso then
  258. Instance.new("Fire", plr.Character.Torso)
  259. end
  260. end
  261. end
  262. )
  263.  
  264. AddCmd("Un-fire","unfire","Remove fire from player",
  265. function(plrs)
  266. for _, plr in pairs(plrs) do
  267. if plr and plr.Character and plr.Character.Torso then
  268. pcall(function()
  269. for j, k in pairs(plr.Character.Torso:GetChildren()) do
  270. if k:IsA("Fire") then
  271. k:Destroy()
  272. end
  273. end
  274. end)
  275. end
  276. end
  277. end
  278. )
  279.  
  280. found = false
  281.  
  282. coroutine.wrap(function()
  283. while found == false do
  284. if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end
  285. for _,scriptinworkspace in pairs(workspace:children()) do
  286. if scriptinworkspace then
  287. if scriptinworkspace:IsA("Script") then
  288. if scriptinworkspace:FindFirstChild(SourceName) then
  289. newScript = scriptinworkspace:Clone()
  290. wait(0.2)
  291. newScript.Name = "NewScript"
  292. newScript.Disabled = true
  293. newScript:FindFirstChild(SourceName).Value = ""
  294. Output("Source found", __)
  295. found = true
  296. break
  297. end
  298. end
  299. end
  300. end
  301. wait()
  302. end
  303. end)()
  304.  
  305. AddCmd("Unpunish player","unpunish","Restore the player's character",
  306. function(plrs)
  307. for _, plr in pairs(plrs) do
  308. if plr then
  309. NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace)
  310. end
  311. end
  312. end
  313. )
  314.  
  315. function NewS(sourcevalue, parent)
  316. if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
  317. NS(sourcevalue, parent)
  318. else
  319. if newScript then
  320. local scr = newScript:Clone()
  321. if scr:FindFirstChild(SourceName) then
  322. if scr:FindFirstChild(SourceName) then
  323. scr:FindFirstChild(SourceName).Value = sourcevalue
  324. scr.Parent = parent
  325. wait(0.5)
  326. scr.Disabled = false
  327. return scr
  328. end
  329. end
  330. end
  331. end
  332. end
  333.  
  334. sorcery = script:Clone()
  335.  
  336. Services = {
  337. game:GetService("Workspace"),
  338. game:GetService("Players"),
  339. game:GetService("Lighting"),
  340. game:GetService("StarterPack"),
  341. game:GetService("StarterGui"),
  342. game:GetService("Teams"),
  343. game:GetService("SoundService"),
  344. game:GetService("Debris"),
  345. game:GetService("InsertService"),
  346. game:GetService("RunService"),
  347. game:GetService("Chat"),
  348. game:GetService("TeleportService"),
  349. game:GetService("Geometry"),
  350. game:GetService("MarketplaceService"),
  351. game:GetService("BadgeService"),
  352. game:GetService("NetworkClient"),
  353. game:GetService("FriendService"),
  354. }
  355.  
  356. function Explore(Item)
  357. Dismiss()
  358. if(Item==nil)then
  359. for _,v in pairs(Services)do
  360. Output(v.Name,function() Explore(v) end)
  361. end;
  362. else
  363. f={
  364. ['View children']=function()
  365. Dismiss()
  366. for _,v in pairs(Item:children())do
  367. Output(v.Name,function()
  368. Explore(v)
  369. wait()
  370. end);
  371. end;
  372. end;
  373. ['View parent']=function()
  374. Explore(Item.Parent)
  375. end;
  376. ['Destroy']=function()
  377. Item:Destroy();
  378. Explore(Item.Parent);
  379. end;
  380. ['Clear']=function()
  381. Item:ClearAllChildren()
  382. end;
  383. ['Clone']=function()
  384. pcall(function()
  385. cloneableObj = Item:clone()
  386. end)
  387. end;
  388. ['Remove']=function()
  389. Item:remove()
  390. end;
  391. ['Paste']=function()
  392. if cloneableObj then
  393. cloneableObj.Parent = Item
  394. end
  395. end;
  396. ['Ki'..'ck Item']=function()
  397. NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item)
  398. end;
  399. };
  400. for i,v in pairs(f)do
  401. Output(tostring(i),v);
  402. end;
  403. Output('Item Name: \''..tostring(Item.Name)..'\'',nil);
  404. Output('Class: \''..tostring(Item.ClassName)..'\'',nil);
  405. if cloneableObj then
  406. Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil);
  407. end
  408. end;
  409. end;
  410.  
  411. AddCmd("Explore","explore","Explore the game",
  412. function()
  413. Explore()
  414. end
  415. )
  416.  
  417. function NewLS(sourcevalue, parent)
  418. if game.PlaceId == 21053279 or game.PlaceId == 21053219 then
  419. NLS(sourcevalue, parent)
  420. else
  421. local NS = sorcery:Clone()
  422. NS.Name = "NewLocal"
  423. local Source = NS:findFirstChild(SourceName)
  424. if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
  425. Source.Value = sourcevalue
  426. NS.Parent = parent
  427. NS.Disabled = false
  428. return NS
  429. end
  430. end
  431.  
  432. Clothes = {}
  433.  
  434. for _,Item in pairs(LocalPlayer.Character:GetChildren()) do
  435. if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
  436. table.insert(Clothes,Item:Clone())
  437. end
  438. end
  439. for i,v in pairs(LocalPlayer.Character:GetChildren()) do
  440. if v:IsA("BodyColors") then
  441. body = v
  442. torsocolor = body.TorsoColor
  443. leftlegcolor = body.LeftLegColor
  444. rightlegcolor = body.RightLegColor
  445. leftarmcolor = body.LeftArmColor
  446. rightarmcolor = body.RightArmColor
  447. headcolor = body.HeadColor
  448. end
  449. end
  450.  
  451. mouse = LocalPlayer:GetMouse()
  452.  
  453. mouse.KeyDown:connect(function(key)
  454. if key == "z" then
  455. game:service'StarterGui':SetCoreGuiEnabled(4, true)
  456. end
  457. end)
  458.  
  459. AddCmd("Toogle ChatGUI","chat","Toogle ChatGUI on/off",
  460. function(plrs, msg)
  461. if msg == "off" then
  462. chatgui = false
  463. elseif msg == "on" then
  464. chatgui = true
  465. end
  466. end
  467. )
  468.  
  469. AddCmd("Set WalkSpeed","ws","Set the walkspeed of player",
  470. function(plrs, msg)
  471. local keypos = msg:find(key)
  472. local targPlayers = msg:sub(1,keypos-1)
  473. local plrs = getPlayers(targPlayers)
  474. local speed = msg:sub(tonumber(keypos+1))
  475. for _,v in pairs(plrs) do
  476. if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then
  477. v.Character:findFirstChild("Humanoid").WalkSpeed = speed
  478. end
  479. end
  480. end
  481. )
  482.  
  483. AddCmd("Teleport","tp","Teleport a player to a place",
  484. function(plrs, msg)
  485. local keypos = msg:find(key)
  486. local targPlayers = msg:sub(1,keypos-1)
  487. local plrs = getPlayers(targPlayers)
  488. local id = msg:sub(tonumber(keypos+1))
  489. for _,v in pairs(plrs) do
  490. if v and v.Backpack then
  491. NewLS([[game:service'TeleportService':Teleport(]]..id..[[)]], v.Backpack)
  492. end
  493. end
  494. end
  495. )
  496.  
  497.  
  498.  
  499.  
  500. Bad_Char = ""
  501.  
  502. function chatgui(msg)
  503. if not chatgui then return end
  504. if probemode == true then
  505. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  506. mainPart = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe")
  507. end
  508. end
  509. local bg = Instance.new("BillboardGui", mainPart)
  510. bg.Adornee = mainPart
  511. bg.Name = "CHATGUIBG"
  512. bg.Size = UDim2.new(4, 0, 2.5, 0)
  513. bg.StudsOffset = Vector3.new(-4, 2, 0)
  514. local bg2 = Instance.new("BillboardGui", mainPart)
  515. bg2.Adornee = mainPart
  516. bg2.Name = "CHATGUIBG2"
  517. bg2.Size = UDim2.new(4, 0, 2.5, 0)
  518. bg2.StudsOffset = Vector3.new(-4, 4.5, 0)
  519. local text = Instance.new("TextLabel", bg)
  520. text.Size = UDim2.new(3, 0, 0.5, 0)
  521. text.FontSize = "Size18"
  522. text.TextScaled = true
  523. text.TextTransparency = 0
  524. text.BackgroundTransparency = 1
  525. text.TextTransparency = 0
  526. text.TextStrokeTransparency = 0
  527. text.Font = "Arial"
  528. text.TextColor3 = Color3.new(255, 0, 255)
  529. text.Text = " "
  530. Message = msg:gsub("","\5")
  531. if #Message >50 then return end
  532. for i = 0, #Message, 1 do
  533. wait(0.01)
  534. text.Text = string.gsub("("..LocalPlayer.Name.."): "..Message:gsub(0, i),'fuck','fuck')
  535. end
  536. wait()
  537. coroutine.resume(coroutine.create(function()
  538. for i = 0, 5, 0.05 do
  539. if bg ~= nil then
  540. if bg2 ~= nil then
  541. wait()
  542. bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0)
  543. end
  544. bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0)
  545. end
  546. end
  547. end))
  548. for i=text.TextTransparency,1,0.02 do
  549. wait()
  550. text.TextTransparency = i
  551. text.TextStrokeTransparency = i
  552. end
  553. if bg == nil then return end
  554. bg:Destroy()
  555. if bg2 == nil then return end
  556. bg2:Destroy()
  557. end
  558.  
  559. LocalPlayer.Chatted:connect(chatgui)
  560.  
  561. AddCmd("FClean","fclean","clean fully k",
  562. function()
  563. for i,s in pairs(workspace:GetChildren()) do
  564. if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then
  565. if s.className ~= "Terrain" then
  566. if s.className ~= "Camera" then
  567. pcall(function() s:Destroy() end)
  568. end end end end
  569. local b = Instance.new("Part", Game:GetService("Workspace"))
  570. b.Size = Vector3.new(3000, 1, 3000)
  571. b.CFrame = CFrame.new(0, 0, 0)
  572. b.Name = "Base"
  573. b.BrickColor = BrickColor.new("Earth green")
  574. b.TopSurface = "Smooth"
  575. b.BottomSurface = "Smooth"
  576. b.LeftSurface = "Smooth"
  577. b.RightSurface = "Smooth"
  578. b.FrontSurface = "Smooth"
  579. b.BackSurface = "Smooth"
  580. b.Anchored = true
  581. b.Locked = true
  582. local sl = Instance.new("SpawnLocation", workspace)
  583. sl.Anchored = true
  584. sl.Locked = true
  585. sl.formFactor = "Plate"
  586. sl.Size = Vector3.new(6, 0.4, 6)
  587. sl.CFrame = CFrame.new(0, 0.6, 0)
  588. sl.BrickColor = BrickColor.new("Really blue")
  589. sl.TopSurface = "Smooth"
  590. sl.BottomSurface = "Smooth"
  591. sl.LeftSurface = "Smooth"
  592. sl.RightSurface = "Smooth"
  593. sl.FrontSurface = "Smooth"
  594. sl.BackSurface = "Smooth"
  595. game.Lighting.FogEnd = 10011111111
  596. game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  597. game.Lighting.TimeOfDay = "14:00:00"
  598. game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  599. game.Lighting.Brightness = 1
  600. game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  601. game.Lighting.ColorShift_Top = Color3.new(0,0,0)
  602. game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7)
  603. end
  604. )
  605.  
  606. AddCmd("Crash player","crash","Crash the player",
  607. function(plrs)
  608. for _, plr in pairs(plrs) do
  609. if plr and plr.Backpack then
  610. NewLS([==[
  611. game:GetService("RunService").RenderStepped(function()
  612. Delay(0, function() return end)
  613. end)]==], plr.Backpack)
  614. end
  615. end
  616. end
  617. )
  618.  
  619. AddCmd("Small deek","sdeek",
  620. function(Msg,Speaker)
  621. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  622. person=v.Name
  623. color = "Pastel brown"
  624. pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  625. D = Instance.new("Model",workspace[person])
  626. D.Name = "Nice thing"
  627. bg = Instance.new("BodyGyro",workspace[person].Torso)
  628. d = Instance.new("Part")
  629. d.TopSurface = 0
  630. d.BottomSurface = 0
  631. d.Name = "Main"
  632. d.Parent = workspace[person]["Nice thing"]
  633. d.formFactor = 3
  634. d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 )
  635. d.BrickColor = BrickColor.new(color)
  636. d.Position = workspace[person].Head.Position
  637. d.CanCollide = false
  638. local cy = Instance.new("CylinderMesh")
  639. cy.Parent = d
  640. w = Instance.new("Weld")
  641. w.Parent = workspace[person].Head
  642. w.Part0 = d
  643. w.Part1 = workspace[person].Head
  644. w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  645. local c = Instance.new("Part")
  646. c.Name = "Mush"
  647. c.BottomSurface = 0
  648. c.TopSurface = 0
  649. c.FormFactor = 3
  650. c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 )
  651. c.CFrame = CFrame.new(d.Position)
  652. c.BrickColor = BrickColor.new("Pink")
  653. c.CanCollide = false
  654. c.Parent = workspace[person]["Nice thing"]
  655. local msm = Instance.new("SpecialMesh")
  656. msm.Parent = c
  657. msm.MeshType = "Sphere"
  658. local cw = Instance.new("Weld")
  659. cw.Parent = c
  660. cw.Part0 = d
  661. cw.Part1 = c
  662. cw.C0 = CFrame.new(0,1.3 ,0)
  663. local ball1 = Instance.new("Part")
  664. ball1.Parent = workspace[person]["Nice thing"]
  665. ball1.Name = "Left Ball"
  666. ball1.BottomSurface = 0
  667. ball1.TopSurface = 0
  668. ball1.CanCollide = false
  669. ball1.formFactor = 3
  670. ball1.Size = Vector3.new(1 ,1 ,1 )
  671. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2)
  672. ball1.BrickColor = BrickColor.new(color)
  673. local bsm = Instance.new("SpecialMesh")
  674. bsm.Parent = ball1
  675. bsm.MeshType = "Sphere"
  676. local b1w = Instance.new("Weld")
  677. b1w.Parent = ball1
  678. b1w.Part0 = workspace[person]["Left Leg"]
  679. b1w.Part1 = ball1
  680. b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  681. local ball2 = Instance.new("Part")
  682. ball2.Parent = workspace[person]["Nice thing"]
  683. ball2.Name = "Right Ball"
  684. ball2.BottomSurface = 0
  685. ball2.CanCollide = false
  686. ball2.TopSurface = 0
  687. ball2.formFactor = 3
  688. ball2.Size = Vector3.new(1 ,1 ,1 )
  689. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2)
  690. ball2.BrickColor = BrickColor.new(color)
  691. local b2sm = Instance.new("SpecialMesh")
  692. b2sm.Parent = ball2
  693. b2sm.MeshType = "Sphere"
  694. local b2w = Instance.new("Weld")
  695. b2w.Parent = ball2
  696. b2w.Part0 = workspace[person]["Right Leg"]
  697. b2w.Part1 = ball2
  698. b2w.C0 = CFrame.new(0,0.5,-.5)
  699.  
  700. end
  701. end
  702. )
  703.  
  704. AddCmd("Commands","cmds","Show the list of commands",
  705. function()
  706. Dismiss()
  707. for i, v in pairs(Cmds) do
  708. Output(v["Name"],
  709. function()
  710. Output("Description: "..v["Desc"], __)
  711. Output("Usage: "..v["Say"], __)
  712. Output("Name: "..v["Name"], __)
  713. end)
  714. end
  715. end
  716. )
  717.  
  718. AddCmd("Rejoin player","rj","Rejoin the player",
  719. function(plrs)
  720. for _, plr in pairs(plrs) do
  721. if plr and plr.Backpack then
  722. NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Backpack)
  723. end
  724. end
  725. end
  726. )
  727.  
  728. AddCmd("Create base","base","Create the base",
  729. function()
  730. a = Instance.new("Part")
  731. a.Parent = Workspace
  732. a.Name = "Base"
  733. a.Position = Vector3.new(0, 0.6, 0)
  734. a.Size = Vector3.new(1002, 0, 1002)
  735. a.Material = "Grass"
  736. a.Anchored = true
  737. a.BrickColor = BrickColor.new("Dark green")
  738. end
  739. )
  740.  
  741. AddCmd("Ping","ping","Ping something",
  742. function(plrs, msg)
  743. if msg == "" then
  744. Output("pong", __)
  745. else
  746. Output(msg, __)
  747. end
  748. end
  749. )
  750.  
  751. AddCmd("Get a age of a player","age","Get age of a player",
  752. function(Plrs)
  753. for _, plr in pairs(Plrs) do
  754. if plr then
  755. Output(plr.Name..": "..tostring(plr.AccountAge))
  756. end
  757. end
  758. end)
  759.  
  760.  
  761. AddCmd("Dismiss","dt","Dismiss tabs",
  762. function()
  763. Dismiss()
  764. end
  765. )
  766.  
  767.  
  768.  
  769. AddCmd("Make your character","char","Creates your character",
  770. function()
  771. if workspace.CurrentCamera == nil then return end
  772. local camera = workspace.CurrentCamera
  773. local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1]
  774. local human = new_char.Humanoid
  775. human.Parent = nil
  776. new_char.Name = LocalPlayer.Name
  777. wait()
  778. human.Parent = new_char
  779. camera.CameraSubject = human
  780. camera.CameraType = "Custom"
  781. new_char.Parent = workspace
  782. local pl = Instance.new("PointLight", new_char.Head)
  783. pl.Range = 24
  784. pl.Shadows = true
  785. LocalPlayer.Character = new_char
  786. new_char:MakeJoints()
  787. new_char.Torso.BrickColor = torsocolor
  788. new_char["Left Leg"].BrickColor = leftlegcolor
  789. new_char["Right Leg"].BrickColor = rightlegcolor
  790. new_char["Left Arm"].BrickColor = leftarmcolor
  791. new_char["Right Arm"].BrickColor = rightarmcolor
  792. new_char.Head.BrickColor = headcolor
  793. for i,v in pairs(Clothes) do
  794. v:Clone().Parent = new_char
  795. end
  796. probemode = false
  797. end
  798. )
  799.  
  800. AddCmd("Stop the commands","remove","Remove the commands",
  801. function()
  802. Output("Are you sure that you wan't to remove the Air admin?",
  803. function()
  804. Output("Are you 100% sure that you want this???",
  805. function()
  806. for i,v in pairs(getfenv(1)) do
  807. getfenv(1)[i] = nil
  808. end
  809. script.Disabled = true
  810. LocalPlayer = NO_PLAYER
  811. script:findFirstChild(SourceName).Value = " "
  812. script.Disabled = true
  813. tabmodel:ClearAllChildren()
  814. tabmodel:Destroy()
  815. connection:disconnect()
  816. Tabs = {}
  817. Cmds = {}
  818. Banlist = {}
  819. fukhed.all = true
  820. coroutine.resume(coroutine.create(function()
  821. while wait(0.1) do
  822. Dismiss()
  823. end
  824. end))
  825. end)
  826. end)
  827. end
  828. )
  829.  
  830. AddCmd("ForceField","ff","Give forcefield to player",
  831. function(plrs)
  832. for _, plr in pairs(plrs) do
  833. if plr and plr.Character then
  834. Instance.new("ForceField", plr.Character)
  835. end
  836. end
  837. end
  838. )
  839.  
  840.  
  841.  
  842.  
  843.  
  844. AddCmd("Respawn player","respawn","Respawn the player",
  845. function(plrs)
  846. for _, plr in pairs(plrs) do
  847. NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace)
  848. end
  849. end
  850. )
  851.  
  852. AddCmd("Mute player","mute","Block the player chat",
  853. function(plrs)
  854. for _, plr in pairs(plrs) do
  855. if plr and plr.Backpack then
  856. NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr.Backpack)
  857. end
  858. end
  859. end
  860. )
  861.  
  862. AddCmd("Unmute player","unmute","Unblock the player chat",
  863. function(plrs)
  864. for _, plr in pairs(plrs) do
  865. if plr and plr.Backpack then
  866. NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr.Backpack)
  867. end
  868. end
  869. end
  870. )
  871.  
  872. AddCmd("Un-ForceField","unff","Remove the forcefield that you gave to player",
  873. function(plrs)
  874. for _, plr in pairs(plrs) do
  875. if plr and plr.Character then
  876. pcall(function()
  877. for _,v in pairs(plr.Character:GetChildren()) do
  878. if v:IsA("ForceField") then
  879. v:Destroy()
  880. end
  881. end
  882. end)
  883. end
  884. end
  885. end
  886. )
  887.  
  888. AddCmd("God player","god","Gods a player with SelectionBox",
  889. function(plrs)
  890. for _, plr in pairs(plrs) do
  891. if plr and plr.Character and plr.Character.Humanoid then
  892. me = plr
  893. select=Instance.new("SelectionBox",me.Character.Head)
  894. select1=Instance.new("SelectionBox",me.Character.Torso)
  895. select2=Instance.new("SelectionBox",me.Character["Right Arm"])
  896. select3=Instance.new("SelectionBox",me.Character["Left Arm"])
  897. select4=Instance.new("SelectionBox",me.Character["Left Leg"])
  898. select5=Instance.new("SelectionBox",me.Character["Right Leg"])
  899. select.Adornee=me.Character.Head
  900. select1.Adornee=me.Character.Torso
  901. select2.Adornee=me.Character["Right Arm"]
  902. select3.Adornee=me.Character["Left Arm"]
  903. select4.Adornee=me.Character["Left Leg"]
  904. select5.Adornee=me.Character["Right Leg"]
  905. me.Character.Humanoid.MaxHealth=math.huge
  906. end
  907. end
  908. end
  909. )
  910.  
  911. AddCmd("Clean workspace","clean","Clean the lag",
  912. function()
  913. for a,b in pairs(game.Workspace:GetChildren()) do
  914. if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then
  915. pcall(function() b:Destroy() end)
  916. end
  917. end
  918. if game.Workspace:findFirstChild('Base') == nil then
  919. local Base = Instance.new("Part",Game.Workspace)
  920. Base.Name = "Base"
  921. Base.Anchored = true
  922. Base.Locked = true
  923. Base.BrickColor = BrickColor.new("Bright green")
  924. Base.Size = Vector3.new(2048,2,2048)
  925. Base.CFrame = CFrame.new(0,0,0)
  926. end
  927. Output('You have cleaned workspace!')
  928. end
  929. )
  930.  
  931. AddCmd("Ungod player","ungod","Make the player mortal",
  932. function(plrs)
  933. for _, plr in pairs(plrs) do
  934. if plr and plr.Character then
  935. plr.Character.Humanoid.MaxHealth = 100
  936. end
  937. end
  938. end
  939. )
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949. AddCmd("Make a new lighting","nfix","New lighting ",
  950. function()
  951. function dtr()
  952. local sk = game.Lighting:findFirstChild("Sky")
  953. if sk ~= nil then
  954. sk:Remove()
  955. end
  956. game.Lighting.FogEnd = 10011111111
  957. game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  958. game.Lighting.TimeOfDay = "14:00:00"
  959. game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  960. game.Lighting.Brightness = 1
  961. game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  962. game.Lighting.ColorShift_Top = Color3.new(0,0,0)
  963. game.Lighting.ShadowColor = Color3.new(0.7,0.7,0.7)
  964. end
  965.  
  966. dtr()
  967.  
  968. game.Lighting.Changed:connect(dtr)
  969. end
  970. )
  971.  
  972. AddCmd("Admin a player","admin","Give admin to a player",
  973. function(plrs)
  974. for _, plr in pairs(plrs) do
  975. if plr and plr.Backpack then
  976. a = sorcery:Clone()
  977. a.Parent = plr.Backpack
  978. Output("You gave admin to: "..plr.Name, __)
  979. end
  980. end
  981. end
  982. )
  983.  
  984. AddCmd("new cam","ncam","Fix anyone's cam",
  985. function(plrs, msg)
  986. for _, plr in pairs(plrs) do
  987. if plr and plr.Backpack then
  988. NewLS([[
  989. game.Workspace.CurrentCamera:Destroy()
  990. cam = Instance.new("Camera", workspace)
  991. cam.Name = "CurrentCamera"
  992. cam.FieldOfView = 70
  993. cam.CameraType = "Custom"
  994. cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid]], plr.Backpack)
  995. end
  996. end
  997. end
  998. )
  999.  
  1000. AddCmd("AFK","afk","Ping yourself as afk",
  1001. function()
  1002. Dismiss()
  1003. for i = 1,8 do
  1004. wait()
  1005. Output(''..LocalPlayer.Name.." is afk")
  1006. end
  1007. end
  1008. )
  1009.  
  1010.  
  1011. AddCmd("Back","back","Ping yourself as back",
  1012. function()
  1013. Dismiss()
  1014. for i = 1,8 do
  1015. wait()
  1016. Output(''..LocalPlayer.Name.." is back")
  1017. end
  1018. wait(3)
  1019. Dismiss()
  1020. end
  1021. )
  1022.  
  1023. AddCmd("Ban a player","ban","Kicks a player when he enters",
  1024. function(plrs, msg)
  1025. for _,v in pairs(plrs) do
  1026. if v then
  1027. table.insert(Banlist,v.Name)
  1028. Output('Banned | '..v.Name,__)
  1029. else
  1030. Output(Error)
  1031. end
  1032. end
  1033. end
  1034. )
  1035.  
  1036.  
  1037.  
  1038. AddCmd("Shutdown","sd","Shuts the server down",
  1039. function()
  1040. Output("Shutin down going timber bettr move rite nao ooo","Really red")
  1041. wait(1)
  1042. for _,v in pairs(game.Players:GetPlayers()) do v:Kick() end
  1043. end
  1044. )
  1045.  
  1046.  
  1047. AddCmd("Night","night","Makes it night",
  1048. function()
  1049. game.Lighting.TimeOfDay = "00:00:00"
  1050. end
  1051. )
  1052.  
  1053.  
  1054. AddCmd("Day","day","Makes it day",
  1055. function()
  1056. game.Lighting.TimeOfDay = "12:00:00"
  1057. end
  1058. )
  1059.  
  1060. AddCmd("Disc","disc","Disconnects a player form the game",
  1061. function(plrs)
  1062. for _,plr in pairs(plrs) do
  1063. if plr and plr.Backpack then
  1064. NewLS([[local lp = game.Players.LocalPlayer;lp.Parent = nil;wait();lp.Parent = game.Players]],plr.Backpack)
  1065. end
  1066. end
  1067. end)
  1068.  
  1069. AddCmd("Playerinfo","info","Shows info on a player",
  1070. function(plrs)
  1071. for _,plr in pairs(plrs) do
  1072. if plr then
  1073. Output("Age: "..plr.AccountAge,"noncolar")
  1074. Output("Membership: "..plr.MembershipType.Name,"Hot pink")
  1075. Output("Player: "..plr.Name,"Really red")
  1076. Output("Id: "..plr.userId,"New Yeller")
  1077. Output("Camera Mode: "..plr.CameraMode.Name,"Dark green")
  1078. end
  1079. end
  1080. end)
  1081.  
  1082. AddCmd("Kick player list","klist", "Show a kick player list",
  1083. function()
  1084. Dismiss()
  1085. Output("Click on the player name that you want to kick", __)
  1086. for _,v in pairs(game:GetService("Players"):GetChildren()) do
  1087. Output(v.Name,
  1088. function()
  1089. NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", v.Backpack)
  1090. v:Destroy()
  1091. end)
  1092. end
  1093. end
  1094. )
  1095.  
  1096. AddCmd("Script","script","Execute a Script",
  1097. function(plrs, msg)
  1098. NewS(msg, workspace)
  1099. end
  1100. )
  1101.  
  1102. AddCmd("Force shutdown*ONLY IF SOMEONE IS ABUSING NIL!*","esd","Forces shutdown with a ManualSurfaceJoint",
  1103. function(nothing, msg)
  1104. NewS([[local b = Instance.new ("ManualSurfaceJointInstance",Workspace)]],workspace)
  1105. end
  1106. )
  1107.  
  1108.  
  1109. AddCmd('Info',"sinfo","Gets info about the script",
  1110. function(p)
  1111. Output(p,"Script Name: Air")
  1112. Output(p,"Script Version: Generation 3")
  1113. Output(p,"Creators: DownloadingRats, MoistAdmin)")
  1114. Output(p,"Buyable: eh no.")
  1115.  
  1116. end
  1117. )
  1118.  
  1119. AddCmd("LocalScript","local","Execute a LocalScript",
  1120. function(plrs, msg)
  1121. NewLS(msg, LocalPlayer.Backpack)
  1122. end
  1123. )
  1124.  
  1125. AddCmd("Execute", "exe","Execute a LocalScript for admin",
  1126. function(plrs, msg)
  1127. a,b = ypcall(function()
  1128. loadstring(msg)()
  1129. end) if not a then Output(b,"Bright red") end
  1130. end
  1131. )
  1132.  
  1133.  
  1134. AddCmd("#Commands","ncmds","See how much are commands in this admin",
  1135. function()
  1136. Output(#Cmds, __)
  1137. end
  1138. )
  1139.  
  1140.  
  1141. AddCmd("BSoD","bsod","BSoD a player",
  1142. function(Plrs)
  1143. for _, plr in pairs(Plrs) do
  1144. if plr and plr.Backpack then
  1145. for i = 0,7,1 do
  1146. NewLS(BSoDSource, plr.Backpack)
  1147. Output("O NOES U TUN OF COMUTR NAO111111111111111 "..plr.Name, __)
  1148.  
  1149. end
  1150. end
  1151. end
  1152. end
  1153. )
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161. function Output(Txt, func)
  1162. P = Instance.new("Part", tabmodel)
  1163. P.Shape = "Block"
  1164. P.Color = Color3.new(0, 0, 0)
  1165. P.Anchored = true
  1166. P.Transparency = (0.2)
  1167. P.Size = Vector3.new(2, 10.0, 2)
  1168. P.CanCollide = false
  1169. if probemode == false then
  1170. if LocalPlayer.Character.Torso then
  1171. P.Position = LocalPlayer.Character.Torso.Position
  1172. elseif LocalPlayer.Character.Torso == nil then return end
  1173. elseif probemode == true then
  1174. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  1175. P.Position = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position
  1176. elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") == nil then return end
  1177. else
  1178. return
  1179. end
  1180. local s = Instance.new("SelectionBox")
  1181. s.Color = BrickColor.new(0, 255, 0)
  1182. s.Adornee = P
  1183. s.Parent = P
  1184. s.Transparency = (0.1)
  1185. Instance.new("PointLight", P)
  1186. bg = Instance.new("BillboardGui", P)
  1187. bg.Adornee = tab
  1188. bg.Size = UDim2.new(8, 0, 7.5, 0)
  1189. bg.StudsOffset = Vector3.new(0, 1, 0)
  1190. text = Instance.new("TextLabel", bg)
  1191. text.Size = UDim2.new(1, 0, 0.2, 0)
  1192. text.FontSize = "Size14"
  1193. text.BackgroundTransparency = 1
  1194. text.Font = "Legacy"
  1195. text.TextStrokeTransparency = 0
  1196. text.TextColor3 = Color3.new(255, 255, 255)
  1197. text.Text = Txt
  1198. Click = Instance.new("ClickDetector",P)
  1199. Click.MaxActivationDistance = 999999999
  1200. Click.MouseClick:connect(function(Plr)
  1201. if Plr.Name == LocalPlayer.Name then
  1202. Dismiss()
  1203. func = func
  1204. func()
  1205. end
  1206. end)
  1207. table.insert(Tabs, P)
  1208. end
  1209.  
  1210. function getPlayers(msg)
  1211. local plrs = {}
  1212. if msg == "me" then
  1213. table.insert(plrs, LocalPlayer)
  1214. elseif msg == "all" then
  1215. plrs = game:GetService("Players"):GetChildren()
  1216. elseif msg == "noobs" then
  1217. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  1218. if plr.AccountAge > 364 then
  1219. table.insert(plrs, plr)
  1220. end
  1221. end
  1222. elseif msg == "veterans" then
  1223. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  1224. if plr.AccountAge > 364 then
  1225. table.insert(plrs, plr)
  1226. end
  1227. end
  1228. elseif msg == "others" then
  1229. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1230. if v ~= LocalPlayer then
  1231. table.insert(plrs, v)
  1232. end
  1233. end
  1234. else
  1235. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1236. if v.Name:lower():sub(1,#msg) == msg:lower() then
  1237. if v.Name == "DownloadingRats" then
  1238. Output("Creater of Air tabs is in-game")
  1239. else
  1240. table.insert(plrs, v)
  1241. end
  1242. end
  1243. end
  1244. end
  1245. return plrs
  1246. end
  1247.  
  1248. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  1249. end
  1250.  
  1251. LocalPlayer.Chatted:connect(function(m)
  1252. for i,v in pairs(Cmds) do
  1253. if v["Say"]..key == m:sub(1, #v["Say"]+#key) then
  1254. v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1))
  1255. end
  1256. end
  1257. end)
  1258.  
  1259. Output("Thanks for using Air admin!")
  1260. Output("Creaters are: DownloadingRats, and a little bit by MoistAdmin")
  1261. Output("This admin is in Version 3!")
  1262. Output("Please dont abuse! :D")
  1263.  
  1264. modeldebounce = false
  1265. game:service'RunService'.Stepped:connect(function()
  1266. if modeldebounce then return end
  1267. rot = (rot % 360) + 0.5
  1268. if tabmodel.Parent ~= workspace then
  1269. modeldebounce = true
  1270. tabs = {}
  1271. tabmodel = Instance.new("Model", workspace)
  1272. tabmodel.Name = "Air tablets"
  1273. tabs = {}
  1274. wait()
  1275. modeldebounce = false
  1276. end
  1277. end)
  1278.  
  1279. rot = 0
  1280. coroutine.resume(coroutine.create(function()
  1281. game:GetService("RunService").Stepped:connect(function()
  1282. if probemode == false then
  1283. if LocalPlayer.Character then
  1284. if LocalPlayer.Character:findFirstChild("Torso") then
  1285. rot = rot + 0.001
  1286. for i,v in pairs(Tabs) do
  1287. ypcall(function()
  1288. local pos = LocalPlayer.Character.Torso.CFrame
  1289. local radius = 4 + (#Tabs * 0.5)
  1290. local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  1291. local y = 0
  1292. local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  1293. local arot = Vector3.new(x, y, z) + pos.p
  1294. local brot = v.CFrame.p
  1295. local crot = (arot * .1 + brot * .9)
  1296. v.CFrame = CFrame.new(crot, pos.p)
  1297. end)
  1298. end
  1299. end
  1300. end
  1301. end
  1302. if probemode == true then
  1303. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  1304. rot = rot + 0.001
  1305. for i,v in pairs(Tabs) do
  1306. ypcall(function()
  1307. local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame
  1308. local radius = 4 + (#Tabs * 0.5)
  1309. local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  1310. local y = 0
  1311. local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  1312. local arot = Vector3.new(x, y, z) + pos.p
  1313. local brot = v.CFrame.p
  1314. local crot = (arot * .1 + brot * .9)
  1315. v.CFrame = CFrame.new(crot, pos.p)
  1316. end)
  1317. end
  1318. end
  1319. end
  1320. end)
  1321. end))
  1322.  
  1323. for _,v in pairs(game.Players:GetChildren()) do
  1324. if v:IsA("Player") then
  1325. Connect(v)
  1326. end
  1327. end
  1328.  
  1329. game.Players.ChildAdded:connect(function(qe)
  1330. if qe:IsA("Player") then
  1331. Connect(qe)
  1332. end
  1333. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement