Advertisement
Jaden11

Tabs Roblox

Jan 19th, 2015
1,347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.40 KB | None | 0 0
  1. wait() -- SCRIPT START
  2.  
  3. -- VARIABLES
  4. script.Parent = __SHTablets__
  5. LocalPlayer = game.Players.LocalPlayer
  6. Tabs = {}
  7. Cmds = {}
  8. Bypass = false
  9. probemode = false
  10. connection = nil
  11. key = ";"
  12. banlist = {}
  13.  
  14.  
  15. function NewS(SourceValue, Parent)
  16. if NewScript then
  17. local scr = NewScript:Clone()
  18. if scr:FindFirstChild(SourceName) then
  19. if scr:FindFirstChild(SourceName) then
  20. scr:FindFirstChild(SourceName).Value = SourceValue
  21. scr.Parent = Parent
  22. wait()
  23. scr.Disabled = false
  24. return scr
  25. end
  26. end
  27. else
  28. end
  29. end -- New Server Script Function End
  30.  
  31.  
  32.  
  33. function Crash(name)
  34. name = tostring(name or "nil")
  35. local t = Instance.new("StringValue")
  36. t.Name = "DISC: "..name
  37. t.Parent = game.Lighting
  38. game:GetService("Debris"):AddItem(t,1)
  39. end
  40.  
  41.  
  42. function Output(text, func)
  43. local prt = Instance.new("Part")
  44. prt.CanCollide=false
  45. prt.Anchored=true
  46. prt.Locked=true
  47. prt.Parent=TabModel;
  48. prt.Transparency=0.2
  49. prt.Name="Tablets"
  50. prt.BrickColor=BrickColor.new("Really red")
  51. prt.Size=Vector3.new(2,2,2)
  52. prt.TopSurface="Smooth"
  53. prt.BottomSurface="Smooth"
  54. if probemode==false then
  55. if LocalPlayer.Character.Torso then
  56. prt.Position=LocalPlayer.Character.Torso.Position
  57. elseif LocalPlayer.Character.Torso==nil then return end
  58. elseif probemode==true then
  59. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  60. prt.Position=game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position
  61. elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe")==nil then return end
  62. else
  63. return
  64. end
  65. wait()
  66. local s = Instance.new("SelectionBox")
  67. s.Color = BrickColor.new(0, 0, 0.3)
  68. s.Adornee = prt
  69. s.Parent = prt
  70. s.Transparency = (0.4)
  71. local pl = Instance.new("PointLight", prt)
  72. prt.Parent=TabModel;
  73. pl.Name="PointLight"
  74. pl.Color = Color3.new(25, 25, 65)
  75. bg = Instance.new("BillboardGui", prt)
  76. bg.Adornee = tab
  77. bg.Size = UDim2.new(8, 0, 7.5, 0)
  78. bg.StudsOffset = Vector3.new(0, 1, 0)
  79. tl = Instance.new("TextLabel", bg)
  80. tl.Size = UDim2.new(1, 0, 0.2, 0)
  81. tl.FontSize = "Size18"
  82. tl.BackgroundTransparency = 1
  83. tl.Font = "Legacy"
  84. tl.TextStrokeTransparency = 0
  85. tl.TextColor3 = Color3.new(25, 25, 0)
  86. tl.Text = text
  87. Click=Instance.new("ClickDetector", prt)
  88. Click.MaxActivationDistance=(math.huge)
  89. Click.MouseClick:connect(function(Plr)
  90. if Plr.Name == LocalPlayer.Name then
  91. Dismiss()
  92. if func~=nil then
  93. func=func
  94. func()
  95. end
  96. end
  97. end)
  98. table.insert(Tabs,prt)
  99. end
  100.  
  101. function Crash(Player)
  102. Player=tostring(Player or ("nil"))
  103. local Value=Instance.new("StringValue")
  104. Value["Name"]=("DISC: "..Player)
  105. Value["Parent"]=Game["Lighting"]
  106. Game["Debris"]:AddItem(Value,1)
  107. end
  108.  
  109. function enter(p)
  110. for i,v in pairs(banlist) do
  111. if p.Name == v then
  112. p:remove()
  113. Output("Banned Player: "..p.Name.." has tried to join the game!", __)
  114. end
  115. end
  116. end
  117.  
  118.  
  119. TabModel = Instance.new("Model", workspace)
  120. TabModel.Name = "SHTabs"
  121.  
  122. function AddCmd(Name,Say,Desc,Func)
  123. table.insert(Cmds,{["Name"]=Name,["Say"]=Say,["Desc"]=Desc,["Func"]=Func})
  124. end
  125.  
  126. function getPlayers(msg)
  127. local plrs = {}
  128. if msg == "me" then
  129. table.insert(plrs, LocalPlayer)
  130. elseif msg == "all" then
  131. plrs = game:GetService("Players"):GetChildren()
  132. elseif msg == "noobs" then
  133. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  134. if plr.AccountAge > 364 then
  135. table.insert(plrs, plr)
  136. end
  137. end
  138. elseif msg == "veterans" then
  139. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  140. if plr.AccountAge > 364 then
  141. table.insert(plrs, plr)
  142. end
  143. end
  144. elseif msg == "others" then
  145. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  146. if v ~= LocalPlayer then
  147. table.insert(plrs, v)
  148. end
  149. end
  150. else
  151. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  152. if v.Name:lower():sub(1,#msg) == msg:lower() then
  153. table.insert(plrs, v)
  154. end
  155. end
  156. end
  157. return plrs
  158. end
  159.  
  160. LocalPlayer.Chatted:connect(function(m)
  161. for i,v in pairs(Cmds) do
  162. if v["Say"]..key == m:sub(1, #v["Say"]+#key) then
  163. v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1))
  164. end
  165. end
  166. end)
  167.  
  168. AddCmd("Commands","cmds","Show the list of commands",
  169. function()
  170. Dismiss()
  171. for i, v in pairs(Cmds) do
  172. Output(v["Name"],
  173. function()
  174. Output("Description: "..v["Desc"], __)
  175. Output("Usage: "..v["Say"], __)
  176. Output("Name: "..v["Name"], __)
  177. end)
  178. end
  179. end
  180. )
  181.  
  182.  
  183. AddCmd("Shutdown the game","sd","Shutdown the game",
  184. function()
  185. Output("Shutting down! #abuserdetectedbutwotever","Really red")
  186. for k,v in pairs(game:GetService("Players"):GetPlayers()) do v:Destroy() end
  187. game.Workspace.Terrain:Clear()
  188. wait(1)
  189. game.Workspace:ClearAllChildren()
  190. game:GetService("Players").PlayerAdded:connect(function(p) p:Destroy() end)
  191. end
  192. )
  193.  
  194. AddCmd("Remove The Admin","shremove","Remove The Admin",
  195. function()
  196. Output("Click if you want to get rid of our admin",
  197. function()
  198. Output("Why? was it not good enough? ;~; Click again for confirmation",
  199. function()
  200. Output("Click again for confirmation! ;~~; PLS SAY dt; TO STOP THIS OPERATION",
  201. function()
  202. for i,v in pairs(getfenv(1)) do
  203. getfenv(1)[i] = nil
  204. end
  205. script.Disabled = true
  206. LocalPlayer = NO_PLAYER
  207. script:findFirstChild(SourceName).Value = " "
  208. script.Disabled = true
  209. tabmodel:ClearAllChildren()
  210. tabmodel:Destroy()
  211. connection:disconnect()
  212. Tabs = {}
  213. Cmds = {}
  214. Banlist = {}
  215. fukhed.all = true
  216. coroutine.resume(coroutine.create(function()
  217. while wait(0.1) do
  218. Dismiss()
  219. end
  220. end))
  221. end)
  222. end)
  223. end)
  224. end)
  225.  
  226. Services = {
  227. game:GetService("Workspace"),
  228. game:GetService("Players"),
  229. game:GetService("Lighting"),
  230. game:GetService("StarterPack"),
  231. game:GetService("StarterGui"),
  232. game:GetService("Teams"),
  233. game:GetService("SoundService"),
  234. game:GetService("Debris"),
  235. game:GetService("InsertService"),
  236. game:GetService("RunService"),
  237. game:GetService("Chat"),
  238. game:GetService("TeleportService"),
  239. game:GetService("Geometry"),
  240. game:GetService("MarketplaceService"),
  241. game:GetService("BadgeService"),
  242. game:GetService("NetworkClient"),
  243. game:GetService("FriendService"),
  244. }
  245.  
  246.  
  247.  
  248. AddCmd("#Commands", "#cmds", "Shows how many commands there are",
  249. function()
  250. Output(#Cmds, __)
  251. end)
  252.  
  253.  
  254.  
  255. function Explore(Item)
  256. Dismiss()
  257. if(Item==nil)then
  258. for _,v in pairs(Services)do
  259. Output(tostring(v),function() wait() Explore(v) end)
  260. end;
  261. else
  262. f={
  263. ['View children']=function()
  264. Dismiss()
  265. for _,v in pairs(Item:children())do
  266. Output(v.Name,function()
  267. wait()
  268. Explore(v)
  269. end);
  270. end;
  271. end;
  272. ['View parent']=function()
  273. wait()
  274. Explore(Item.Parent)
  275. end;
  276. ['Destroy']=function()
  277. Item:Destroy();
  278. Explore(Item.Parent);
  279. end;
  280. ['Clear']=function()
  281. Item:ClearAllChildren()
  282. end;
  283. ['Clone']=function()
  284. pcall(function()
  285. cloneableObj = Item:clone()
  286. end)
  287. end;
  288. ['Remove']=function()
  289. Item:remove()
  290. end;
  291. ['Paste']=function()
  292. if cloneableObj then
  293. cloneableObj.Parent = Item
  294. end
  295. end;
  296. ['Ki'..'ck Item']=function()
  297. NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item)
  298. end;
  299. };
  300. for i,v in pairs(f)do
  301. Output(tostring(i),v);
  302. end;
  303. Output('Item Name: \''..tostring(Item.Name)..'\'',nil);
  304. Output('Class: \''..tostring(Item.ClassName)..'\'',nil);
  305. if cloneableObj then
  306. Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil);
  307. end
  308. end;
  309. end;
  310.  
  311. AddCmd("Explore","explore","Explore the game",
  312. function()
  313. Explore()
  314. end
  315. )
  316.  
  317. AddCmd("Dismiss","dt","Dismiss all tablets",
  318. function()
  319. Dismiss()
  320. end)
  321.  
  322. AddCmd("AFK","afk","Ping yourself as afk",
  323. function()
  324. Dismiss()
  325. for i = 1,8 do
  326. wait()
  327. Output("AFK", __)
  328. end
  329. end
  330. )
  331.  
  332. AddCmd("Ping","ping","Ping something",
  333. function(plrs, msg)
  334. if msg == "" then
  335. Output("Pong", __)
  336. else
  337. Output(msg, __)
  338. end
  339. end
  340. )
  341.  
  342.  
  343.  
  344. AddCmd("Ban a player","ban","Kicks a player when he enters",
  345. function(plrs, msg)
  346. for _,v in pairs(plrs) do
  347. if v then
  348. table.insert(banlist,v.Name)
  349. v:remove()
  350. Output('Banned | '..v.Name,__)
  351. end
  352. end
  353. end)
  354. AddCmd("Sparkles","sparkles","Give the Selected Player Sparkles.",
  355. function(Plrs)
  356. for _,Plr in pairs(Plrs) do
  357. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  358. Instance.new("Sparkles",Plr["Character"].Torso)
  359. end
  360. end
  361. end)
  362.  
  363. AddCmd("Un-Sparkles","unsprkles","Removes Sparkles from a Selected Player.",
  364. function(Plrs)
  365. for _,Plr in pairs(Plrs) do
  366. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  367. pcall(function()
  368. for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do
  369. if Child:IsA("Sparkles") then
  370. Child:Destroy()
  371. end
  372. end
  373. end)
  374. end
  375. end
  376. end)
  377. AddCmd("Fire","fire","Give the Selected Player Fire.",
  378. function(Plrs)
  379. for _,Plr in pairs(Plrs) do
  380. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  381. Instance.new("Fire",Plr["Character"].Torso)
  382. end
  383. end
  384. end)
  385.  
  386. AddCmd("Un-fire","unfire","Removes Fire from a Selected Player.",
  387. function(Plrs)
  388. for _,Plr in pairs(Plrs) do
  389. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  390. pcall(function()
  391. for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do
  392. if Child:IsA("Fire") then
  393. Child:Destroy()
  394. end
  395. end
  396. end)
  397. end
  398. end
  399. end)
  400. AddCmd("Smoke","smoke","Gives a player smoke.",
  401. function(Plrs)
  402. for _,Plr in pairs(Plrs) do
  403. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  404. Instance.new("Smoke",Plr["Character"].Torso)
  405. end
  406. end
  407. end)
  408.  
  409. AddCmd("Remove Smoke","unsmoke","Removes a player's smoke",
  410. function(Plrs)
  411. for _,Plr in pairs(Plrs) do
  412. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  413. pcall(function()
  414. for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do
  415. if Child:IsA("Smoke") then
  416. Child:Destroy()
  417. end
  418. end
  419. end)
  420. end
  421. end
  422. end)
  423.  
  424.  
  425. AddCmd("Banlist","bl","Show the Current Banned Players.",
  426. function()
  427. Dismiss()
  428. for _,BannedPlr in pairs(banlist) do
  429. Output(BannedPlr, __)
  430. end
  431. end)
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440. AddCmd("ForceField","ff","Give a player a ForceField",
  441. function(Plrs)
  442. for _,Plr in pairs(Plrs) do
  443. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  444. Instance.new("ForceField",Plr["Character"].Torso)
  445. end
  446. end
  447. end)
  448.  
  449.  
  450. AddCmd("Remove ForceField","unff","Removes a player's forcefield(s)",
  451. function(Plrs)
  452. for _,Plr in pairs(Plrs) do
  453. if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then
  454. pcall(function()
  455. for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do
  456. if Child:IsA("ForceField") then
  457. Child:Destroy()
  458. end
  459. end
  460. end)
  461. end
  462. end
  463. end)
  464.  
  465.  
  466.  
  467.  
  468. AddCmd("Create base","base","Create the base",
  469. function()
  470. a = Instance.new("Part")
  471. a.Parent = Workspace
  472. a.Name = "Base"
  473. a.Position = Vector3.new(0, 0.6, 0)
  474. a.Size = Vector3.new(1002, 0, 1002)
  475. a.Material = "Grass"
  476. a.Anchored = true
  477. a.BrickColor = BrickColor.new("Dark green")
  478. end
  479. )
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487. AddCmd("Toogle ChatGUI","chat","Toogle ChatGUI on/off",
  488. function(plrs, msg)
  489. if msg == "off" then
  490. chatgui = false
  491. elseif msg == "on" then
  492. chatgui = true
  493. end
  494. end
  495. )
  496.  
  497.  
  498.  
  499.  
  500. AddCmd("God player","god","Make the player immortal",
  501. function(plrs)
  502. for _, plr in pairs(plrs) do
  503. if plr and plr.Character and plr.Character.Humanoid then
  504. plr.Character.Humanoid.MaxHealth = math.huge
  505. end
  506. end
  507. end
  508. )
  509.  
  510. AddCmd("Ungod player","ungod","Make the player mortal",
  511. function(plrs)
  512. for _, plr in pairs(plrs) do
  513. if plr and plr.Character then
  514. plr.Character.Humanoid.MaxHealth = 100
  515. end
  516. end
  517. end
  518. )
  519.  
  520. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  521. end
  522.  
  523.  
  524.  
  525.  
  526. function Dismiss()
  527. for i = 1, 10 do
  528. for i = 1, #Tabs do
  529. table.remove(Tabs, i)
  530. if TabModel then
  531. TabModel:ClearAllChildren()
  532. end end end
  533. end
  534.  
  535. AddCmd("Admin a player","admin","Give admin to a player",
  536. function(plrs)
  537. for _, plr in pairs(plrs) do
  538. if plr and plr.Backpack then
  539. script.Parent = plr.Backpack
  540. Output("You gave admin to: "..plr.Name, __)
  541. end
  542. end
  543. end
  544. )
  545.  
  546. AddCmd("Kick player","kick","Kick a player",
  547. function(plrs)
  548. for _, plr in pairs(plrs) do
  549. if plr and plr.Backpack then
  550. NewS("game:service'StarterGui':SerCoreGuiEnabled(3,false)", plr.Backpack)
  551. plr:Destroy()
  552. end
  553. end
  554. end
  555. )
  556.  
  557. AddCmd("Script","script","Execute a Script",
  558. function(plrs, msg)
  559. NewS(msg, workspace)
  560. end
  561. )
  562.  
  563.  
  564.  
  565.  
  566.  
  567. AddCmd("Swagify", "swag",
  568. function(plrs)
  569. for i,v in pairs(plrs) do
  570. if v.Character:FindFirstChild("Shirt") then
  571. v.Character.Shirt:remove()
  572. end
  573. if v.Character:FindFirstChild("Pants") then
  574. v.Character.Pants:remove()
  575. end
  576. for j,b in pairs(v.Character:children()) do
  577. if b:IsA("BasePart") then
  578. Instance.new("Sparkles", b).SparkleColor = Color3.new(1,0,1)
  579. Instance.new("Fire", b).Color = Color3.new(1,0,1)
  580. local sb = Instance.new("SelectionBox", b)
  581. sb.Color = BrickColor.new(Color3.new(1,0,1))
  582. sb.Adornee = sb.Parent
  583. b.BrickColor = BrickColor.new(Color3.new(1,0,1))
  584. end
  585. end
  586. end
  587. end
  588. )
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. function chatgui(msg)
  596. if not chatgui then return end
  597. if probemode == false then
  598. if LocalPlayer.Character:findFirstChild("Head") then
  599. mainPart = LocalPlayer.Character:findFirstChild("Head")
  600. end
  601. end
  602. if probemode == true then
  603. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  604. mainPart = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe")
  605. end
  606. end
  607. local bg = Instance.new("BillboardGui", mainPart)
  608. bg.Adornee = mainPart
  609. bg.Name = "CHATGUIBG"
  610. bg.Size = UDim2.new(4, 0, 2.5, 0)
  611. bg.StudsOffset = Vector3.new(-4, 2, 0)
  612. local bg2 = Instance.new("BillboardGui", mainPart)
  613. bg2.Adornee = mainPart
  614. bg2.Name = "CHATGUIBG2"
  615. bg2.Size = UDim2.new(4, 0, 2.5, 0)
  616. bg2.StudsOffset = Vector3.new(-4, 4.5, 0)
  617. local text = Instance.new("TextLabel", bg)
  618. text.Size = UDim2.new(3, 0, 0.5, 0)
  619. text.FontSize = "Size18"
  620. text.TextScaled = true
  621. text.TextTransparency = 0
  622. text.BackgroundTransparency = 1
  623. text.TextTransparency = 0
  624. text.TextStrokeTransparency = 0
  625. text.Font = "Arial"
  626. text.TextColor = BrickColor.new("Navy blue")
  627. text.Text = " "
  628. Message = msg:sub(1)
  629. if #Message >50 then return end
  630. for i = 0, #Message, 1 do
  631. wait(0.01)
  632. text.Text = string.gsub(""..LocalPlayer.Name..": "..Message:sub(0, i),'fk','fk')
  633. end
  634. wait()
  635. coroutine.resume(coroutine.create(function()
  636. for i = 0, 5, 0.05 do
  637. if bg ~= nil then
  638. if bg2 ~= nil then
  639. wait()
  640. bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0)
  641. end
  642. bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0)
  643. end
  644. end
  645. end))
  646. for i=text.TextTransparency,1,0.02 do
  647. wait()
  648. text.TextTransparency = i
  649. text.TextStrokeTransparency = i
  650. end
  651. if bg == nil then return end
  652. bg:Destroy()
  653. if bg2 == nil then return end
  654. bg2:Destroy()
  655. end
  656.  
  657. LocalPlayer.Chatted:connect(chatgui)
  658.  
  659.  
  660. AddCmd("Probe mode", "probe", "Be a ball and fly around",
  661. function()
  662. probemode = true
  663. Dismiss()
  664. if LocalPlayer.Character then LocalPlayer.Character = nil end
  665. if workspace.CurrentCamera == nil then return end
  666. local camera = workspace.CurrentCamera
  667. local probe = Instance.new("Part", game.Workspace)
  668. probe.TopSurface = 0
  669. probe.Anchored = true
  670. probe.Shape = "Ball"
  671. probe.BottomSurface = 0
  672. probe.Name = LocalPlayer.Name.."'s probe"
  673. local rotation = 0
  674. local bbg = Instance.new("BillboardGui", probe)
  675. bbg.Size = UDim2.new(3, 0, 3 ,0)
  676. bbg.ExtentsOffset = Vector3.new(0, 2, 0)
  677. local txt = Instance.new("TextLabel", bbg)
  678. txt.FontSize = "Size24"
  679. txt.Font = "SourceSansBold"
  680. txt.Text = LocalPlayer.Name
  681. txt.BackgroundTransparency = 1
  682. txt.TextColor = BrickColor.new("Institutional blue")
  683. txt.TextStrokeTransparency = 0
  684. txt.Size = UDim2.new(1,0,1,0)
  685. local pl = Instance.new("PointLight", probe)
  686. pl.Shadows = true
  687. pl.Range = 20
  688. coroutine.wrap(function()
  689. while pl ~= nil do
  690. pl.Color=Color3.new(math.random(),math.random(),math.random())
  691. wait(0.8)
  692. end
  693. end)()
  694. coroutine.wrap(function()
  695. while LocalPlayer.Character == nil and probe.Parent == workspace and probe ~= nil and game:service'RunService'.Stepped:wait() do
  696. probe.CFrame = camera.Focus * CFrame.Angles(0, rotation, 0)
  697. rotation = rotation + 0.1
  698. end
  699. if camera then
  700. camera:Destroy()
  701. end
  702. probe:Destroy()
  703. end)()
  704. end
  705. )
  706.  
  707.  
  708. rot = 0
  709. coroutine.resume(coroutine.create(function()
  710. game:GetService("RunService").Stepped:connect(function()
  711. if probemode == false then
  712. if LocalPlayer.Character then
  713. if LocalPlayer.Character:findFirstChild("Torso") then
  714. rot = rot + 0.0001
  715. for i,v in pairs(Tabs) do
  716. ypcall(function()
  717. local pos = LocalPlayer.Character.Torso.CFrame
  718. local radius = 4 + (#Tabs * 0.5)
  719. local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  720. local y = 0
  721. local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  722. local arot = Vector3.new(x, y, z) + pos.p
  723. local brot = v.CFrame.p
  724. local crot = (arot * .1 + brot * .9)
  725. v.CFrame = CFrame.new(crot, pos.p)
  726. end)
  727. end
  728. end
  729. end
  730. end
  731. if probemode == true then
  732. if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then
  733. rot = rot + 0.001
  734. for i,v in pairs(Tabs) do
  735. ypcall(function()
  736. local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame
  737. local radius = 4 + (#Tabs * 0.5)
  738. local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  739. local y = 0
  740. local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius
  741. local arot = Vector3.new(x, y, z) + pos.p
  742. local brot = v.CFrame.p
  743. local crot = (arot * .1 + brot * .9)
  744. v.CFrame = CFrame.new(crot, pos.p)
  745. end)
  746. end
  747. end
  748. end
  749. end)
  750. end))
  751.  
  752. while wait() do
  753. for i,v in pairs(game:service("Players"):GetPlayers()) do
  754. enter(v)
  755. end
  756. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement