Advertisement
mathmasterphil

Tab

Feb 2nd, 2015
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.29 KB | None | 0 0
  1. wait()
  2. --edited solar rotation gtfo make your own
  3. local tablets={}
  4. Player=game.Players.LocalPlayer
  5. char=Player.Character
  6. LocalPlayer = Player
  7. Cmds = {}
  8. Tabs = {}
  9. Tabs2 = {}
  10. AllTabs = {}
  11. TabModel = Instance.new("Model", workspace)
  12. TabModel.Name = "EpicoBlocks"--nice name 10/10
  13. version = "1.6 ALPHA"
  14. afk = false
  15. exescript=game.Workspace:FindFirstChild("ExeAdminScript")--mhm
  16.  
  17. script.Parent=nil
  18.  
  19.  
  20. rank = nil
  21. status = nil
  22.  
  23. UpdateLogs = {
  24. "Version: "..version,
  25. "Added music list",
  26. "Added ShutDown and ShutDown time",
  27. "Stays after death",
  28. }
  29.  
  30. services = {
  31. SoundService = game:GetService('SoundService'),
  32. MarketPlaceService = game:service('MarketplaceService'),
  33. ServerStorage = game:GetService('ServerStorage'),
  34. };
  35.  
  36. Storage = services.ServerStorage
  37. Marketplace = services.MarketPlaceService
  38. SoundService = services.SoundService
  39.  
  40. mp = Marketplace
  41.  
  42. backup = TabModel:Clone()
  43. backup.Parent = Storage
  44.  
  45.  
  46. Settings = {
  47. banlist = {"supersonicfan111", "ddddd", "idiot"}; -- Banned Players
  48. fire = false, -- Fire on tabs?
  49. light = true, -- Light on tabs?
  50. color = "Really blue", -- Color of the tablets
  51. color2 = "Really red", -- Color of the dismiss tablet, and some other shit
  52. color3 = Color3.new(1,1,1), -- Color of the Fire, and light
  53. tagsize = UDim2.new(9, 0, 8, 0), -- Size of the text of the tablets
  54. bet = ";", -- What comes after the command
  55. notifications = true,
  56. sdtime = 5
  57. };
  58.  
  59.  
  60.  
  61. banned = Settings.banlist
  62.  
  63.  
  64. local key = Settings.bet
  65.  
  66. local Tablets={}
  67.  
  68. function Output2(text, color, func)
  69. local prt = Instance.new("Part")
  70. prt.CanCollide=false
  71. prt.Anchored=true;
  72. prt.Locked=true
  73. prt.Transparency=.6; --Change the transparency if you want to._no i dont want 2 u retard
  74. prt.TopSurface="Smooth"
  75. prt.BottomSurface="Smooth"
  76. prt.FormFactor = "Custom"
  77. prt.Size=Vector3.new(0.9,0.9,0.9)
  78. prt.Name = "Tablet2 "..math.random(1, 25000) -- Makes a random number{because this is usefull}
  79. prt.BrickColor = BrickColor.new(color)
  80. prt.Parent=workspace
  81.  
  82. pcall(function() prt.CFrame = char.Torso.CFrame end)
  83.  
  84. local bbg = Instance.new("BillboardGui",prt)
  85. bbg.Size=Settings.tagsize;
  86. bbg.StudsOffset = Vector3.new(0, -5, 0)
  87. bbg.Name = "NameTag"
  88.  
  89. local tl = Instance.new("TextLabel", bbg)
  90. tl.Size = UDim2.new(1, 0, 0.2, 0)
  91. tl.FontSize = "Size24"
  92. tl.BackgroundTransparency = 1
  93. tl.Font = "SourceSansBold"
  94. tl.TextStrokeTransparency = 0
  95. tl.TextColor = BrickColor.new(color)
  96. tl.Text = text
  97.  
  98. local sb = Instance.new("SelectionBox",prt)
  99. sb.Color=BrickColor.new(color)
  100. sb.Transparency=.6;
  101. sb.Adornee=prt;
  102.  
  103. if Settings.fire == true then
  104. local fier = Instance.new("Fire", prt)
  105. fier.Color = Settings.color3
  106. fier.SecondaryColor = Settings.color3
  107. end
  108.  
  109. if Settings.light == true then
  110. lite = Instance.new("PointLight", prt)
  111. lite.Range = 12
  112. lite.Color = Settings.color3
  113. end
  114.  
  115. local cd = Instance.new("ClickDetector",prt)
  116. cd.MaxActivationDistance = math.huge
  117. cd.MouseClick:connect(function(plr)
  118. if plr.userId==LocalPlayer.userId then
  119. local Run,Error=ypcall(function()
  120. func=func
  121. func()
  122. end)
  123. if func == nil then
  124. prt.Parent = nil
  125. end
  126. end
  127. end)
  128. cd.MouseHoverEnter:connect(function(plr)
  129. if plr.userId==LocalPlayer.userId then
  130. sb.Transparency=.5
  131. lite.Range = 14
  132. prt.Transparency=.5
  133. wait()
  134. sb.Transparency=.4
  135. lite.Range = 18
  136. prt.Transparency=.4
  137. wait()
  138. sb.Transparency=.3
  139. lite.Range = 20
  140. prt.Transparency=.3
  141. wait()
  142. sb.Transparency=.2
  143. lite.Range = 22
  144. prt.Transparency=.2
  145. end
  146. end)
  147. cd.MouseHoverLeave:connect(function(plr)
  148. if plr.userId==LocalPlayer.userId then
  149. sb.Transparency=.2
  150. lite.Range = 22
  151. prt.Transparency=.2
  152. wait()
  153. sb.Transparency=.3
  154. lite.Range = 20
  155. prt.Transparency=.3
  156. wait()
  157. sb.Transparency=.4
  158. lite.Range = 18
  159. prt.Transparency=.4
  160. wait()
  161. sb.Transparency=.5
  162. lite.Range = 16
  163. prt.Transparency=.5
  164. sb.Transparency=.6
  165. lite.Range = 14
  166. prt.Transparency=.6
  167. end
  168. end)
  169. table.insert(Tablets, {Tab=prt,Plr=Player.Name})
  170. end
  171.  
  172.  
  173.  
  174. function Output(text, color, func)
  175. local prt = Instance.new("Part")
  176. prt.CanCollide=false
  177. prt.Anchored=true;
  178. prt.Locked=true
  179. prt.Transparency=.6; --Change the transparency if you want to.
  180. prt.TopSurface="Smooth"
  181. prt.BottomSurface="Smooth"
  182. prt.FormFactor = "Custom"
  183. prt.Size=Vector3.new(2.3,2.3,2.3)
  184. prt.Name = "Tablet "..math.random(1, 25000) -- Makes a random number{because this is usefull}
  185. prt.BrickColor = BrickColor.new(color)
  186. prt.Parent=workspace
  187. pcall(function() prt.CFrame = char.Torso.CFrame end)
  188.  
  189. local bbg = Instance.new("BillboardGui",prt)
  190. bbg.Size=Settings.tagsize;
  191. bbg.StudsOffset = Vector3.new(0, -5, 0)
  192. bbg.Name = "NameTag"
  193.  
  194. local tl = Instance.new("TextLabel", bbg)
  195. tl.Size = UDim2.new(1, 0, 0.2, 0)
  196. tl.FontSize = "Size24"
  197. tl.BackgroundTransparency = 1
  198. tl.Font = "SourceSansBold"
  199. tl.TextStrokeTransparency = 0
  200. tl.TextColor = BrickColor.new(color)
  201. tl.Text = text
  202.  
  203. local sb = Instance.new("SelectionBox",prt)
  204. sb.Color=BrickColor.new(color)
  205. sb.Transparency=.6;
  206. sb.Adornee=prt;
  207.  
  208. if Settings.fire == true then
  209. local fier = Instance.new("Fire", prt)
  210. fier.Color = Settings.color3
  211. fier.SecondaryColor = Settings.color3
  212. end
  213.  
  214. if Settings.light == true then
  215. lite = Instance.new("PointLight", prt)
  216. lite.Range = 12
  217. lite.Color = Settings.color3
  218. end
  219.  
  220. local cd = Instance.new("ClickDetector",prt)
  221. cd.MaxActivationDistance = math.huge
  222. cd.MouseClick:connect(function(plr)
  223. if plr.userId==LocalPlayer.userId then
  224. local Run,Error=ypcall(function()
  225. func=func
  226. func()
  227. end)
  228. if func == nil then
  229. Dismiss()
  230. end
  231. end
  232. end)
  233. cd.MouseHoverEnter:connect(function(plr)
  234. if plr.userId==LocalPlayer.userId then
  235. sb.Transparency=.5
  236. lite.Range = 14
  237. prt.Transparency=.5
  238. wait()
  239. sb.Transparency=.4
  240. lite.Range = 18
  241. prt.Transparency=.4
  242. wait()
  243. sb.Transparency=.3
  244. lite.Range = 20
  245. prt.Transparency=.3
  246. wait()
  247. sb.Transparency=.2
  248. lite.Range = 22
  249. prt.Transparency=.2
  250. end
  251. end)
  252. cd.MouseHoverLeave:connect(function(plr)
  253. if plr.userId==LocalPlayer.userId then
  254. sb.Transparency=.2
  255. lite.Range = 22
  256. prt.Transparency=.2
  257. wait()
  258. sb.Transparency=.3
  259. lite.Range = 20
  260. prt.Transparency=.3
  261. wait()
  262. sb.Transparency=.4
  263. lite.Range = 18
  264. prt.Transparency=.4
  265. wait()
  266. sb.Transparency=.5
  267. lite.Range = 16
  268. prt.Transparency=.5
  269. sb.Transparency=.6
  270. lite.Range = 14
  271. prt.Transparency=.6
  272. end
  273. end)
  274. table.insert(Tablets, {Tab=prt, Plr=Player.Name})
  275. end
  276.  
  277. function getPlayers(msg)
  278. local plrs = {}
  279. if msg == "me" then
  280. table.insert(plrs, LocalPlayer)
  281. elseif msg == "all" then
  282. plrs = game:GetService("Players"):GetChildren()
  283. elseif msg == "noobs" then
  284. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  285. if plr.AccountAge > 364 then
  286. table.insert(plrs, plr)
  287. end
  288. end
  289. elseif msg == "veterans" then
  290. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  291. if plr.AccountAge > 364 then
  292. table.insert(plrs, plr)
  293. end
  294. end
  295. elseif msg == "others" then
  296. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  297. if v ~= LocalPlayer then
  298. table.insert(plrs, v)
  299. end
  300. end
  301. else
  302. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  303. if v.Name:lower():sub(1,#msg) == msg:lower() then
  304. table.insert(plrs, v)
  305. end
  306. end
  307. end
  308. return plrs
  309. end
  310.  
  311. function AddCmd(Name,Say,Desc,Func)
  312. table.insert(Cmds,{["Name"] = Name,["Say"] = Say,["Desc"] = Desc,["Func"] = Func})
  313. end
  314.  
  315. LocalPlayer.Chatted:connect(function(m)
  316. for i,v in pairs(Cmds) do
  317. if v["Say"]..key == m:sub(1, #v["Say"]+#key) then
  318. v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1))
  319. end
  320. end
  321. end)
  322.  
  323. function Dismiss()
  324. pcall(function()
  325. for i,v in pairs(Tablets) do
  326. if v.Plr==Player.Name then
  327. v.Tab:remove()
  328. table.remove(Tablets, i)
  329. end
  330. end
  331. end)
  332. end
  333.  
  334. function DismissTab()
  335. Output("Dismiss", Settings.color2, function() Dismiss() end)
  336. end
  337.  
  338. function ShowCommands()
  339. Dismiss()
  340. DismissTab()
  341. for i, v in pairs(Cmds) do
  342. Output(v["Name"], Settings.color,
  343. function()
  344. Dismiss()
  345. DismissTab()
  346. Output("Back", "Really black", function() ShowCommands() end)
  347. Output("Description: "..v["Desc"], Settings.color, __)
  348. Output("Usage: "..v["Say"], Settings.color, __)
  349. Output("Name: "..v["Name"], Settings.color, __)
  350. end)
  351. end
  352. end
  353.  
  354. Credits = {}
  355. function AddCredit(Name, Reason)
  356. table.insert(Credits,{["Name"] = Name,["Reason"] = Reason})
  357. end
  358.  
  359. function ShowBans()
  360. Dismiss()
  361. Output("Goto commands menu", "New Yeller", function() ShowCommands() end)
  362. for i, v in pairs(banned) do
  363. Output(v, Settings.color, __)
  364. end
  365. end
  366.  
  367.  
  368.  
  369. function ShowCredits()
  370. Dismiss()
  371. DismissTab()
  372. Output("Goto commands menu", "New Yeller", function() ShowCommands() end)
  373. for i, v in pairs(Credits) do
  374. Output(v["Name"], Settings.color,
  375. function()
  376. Dismiss()
  377. DismissTab()
  378. Output("Back", "Really black", function() ShowCredits() end)
  379. Output("Reason: "..v["Reason"], "Hot pink", __)
  380. Output("Name: "..v["Name"], "Lime green", __)
  381. end)
  382. end
  383. end
  384.  
  385. if LocalPlayer.Name == "masterepico" then
  386. rank = "Learner"
  387. status = "creator"
  388. elseif LocalPlayer.Name == "mathmasterphil" then
  389. rank = "Creator"
  390. status = "creator"
  391. elseif LocalPlayer.Name == "jillmiles111" then
  392. rank = "Huge help to creators"--non
  393. status = "huge help to creators"--non
  394. else
  395. rank = "Random nobody"--100% somebody
  396. status = "Random nobody"--100% somebody
  397. end
  398.  
  399. if status == "creator" then--u have a mental disorder
  400. Output("You are a creator!", Settings.color, __)
  401. end
  402.  
  403.  
  404. Output("Welcome to: "..TabModel.Name.."!", Settings.color, __)
  405. Output("Your rank is: "..rank.."!", Settings.color, __)
  406. Output("Goto commands menu", "Deep orange", function() ShowCommands() end)
  407. AddCredit("supersonicfan111", "Creating the script")--cancer patient
  408. AddCredit("masterepico", "Helping with script, general epicness, c:")--idiot
  409. AddCredit("TheHaxx00rr", "Help with output, giving me jillmiles1's Rotation script")--solars rotation script*
  410. AddCredit("jillmiles1", "Making the rotation script")--solar*
  411.  
  412.  
  413.  
  414. AddCmd("Commands","cmds","Show the list of commands",
  415. function()
  416. afk = false
  417. ShowCommands()
  418. end
  419. )
  420.  
  421. function Shutdown()
  422. local timer = Settings.sdtime
  423. repeat Dismiss() wait(1) Output("Shutdown in: "..timer.." seconds!", "Really red", __) timer = timer -1 until timer == -1
  424. if timer == -1 then
  425. game.Workspace:ClearAllChildren()--10/10 best shutdown na/eu
  426. game.Players:ClearAllChildren()--10/10 best shutdown na/eu
  427. end
  428. end
  429.  
  430.  
  431.  
  432.  
  433. function StopMusic()
  434. for i,v in pairs(Workspace:GetChildren()) do
  435. if v:IsA("Sound") then
  436. v.Name = "S0und"
  437. wait()
  438. v:Remove()
  439. end
  440. end
  441. end
  442.  
  443. function ShowMusicList1()
  444. Dismiss()
  445. Output("Fabulous - PewDiePie", "Hot pink", function() Dismiss() StopMusic() PlaySound(191819419, workspace, 0) end)
  446. Output("Freaks - Timmy Trumpet", "Black", function() Dismiss() StopMusic() PlaySound(181158033, workspace, 0) end)
  447. Output("Spooky Scary Skeletons (TLT REMIX)", "White", function() Dismiss() StopMusic() PlaySound(183357153, workspace, 0) end)
  448. Output("3spooky5me", "White", function() Dismiss() StopMusic() PlaySound(160442087, workspace, 0) end)
  449. Output("Spooky Scary Skeletons (8-Bit REMIX)", "White", function() Dismiss() StopMusic() PlaySound(204159425, workspace, 0) end)
  450. Output("Ultimate Final Death Battle - Fairy Tail", "Really blue", function() Dismiss() StopMusic() PlaySound(153085393, workspace, 0) end)
  451. Output("Mean Kitty Song", "Really red", function() Dismiss() StopMusic() PlaySound(146038319, workspace, 0) end)
  452. Output("Russian Dancing Men", "Bright red", function() Dismiss() StopMusic() PlaySound(142300879, workspace, 0) end)
  453. Output("TURN DOWN FOR WHAT!?", Settings.color2, function() Dismiss() StopMusic() PlaySound(143959455, workspace, 0) end)
  454. Output("Tunak Tunak tun", Settings.color, function() Dismiss() StopMusic() PlaySound(162682002, workspace, 0) end)
  455. end--retarded
  456.  
  457.  
  458.  
  459. function PlaySound(id, parent, type)--whats the point why not add to the idiotic music this
  460. epicsound = Instance.new("Sound")
  461. epicsound.Name = "EpicoSound"
  462. epicsound.SoundId = "rbxassetid://"..id
  463. epicsound.Volume = 1
  464. epicsound.Pitch = 1
  465. epicsound.Looped = true
  466. epicsound.Parent = parent
  467. sbu = epicsound:Clone()
  468. sbu.Parent = Storage
  469. if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!{obviously u}
  470. epicsound.SoundId="rbxassetid://181158033"
  471. elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!{false}
  472. epicsound.SoundId="rbxassetid://191819419"
  473. elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD){gtfo}
  474. epicsound.SoundId="rbxassetid://153085393"
  475. elseif epicsound.SoundId=="rbxassetid://nnm" then
  476. epicsound.SoundId="rbxassetid://210189234"
  477. elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun{retarded kill yourself}
  478. epicsound.SoundId="rbxass/setid://162682002"
  479. elseif epicsound.SoundId=="rbxassetid://zelda" then
  480. epicsound.SoundId="rbxassetid://158215156"
  481. elseif epicsound.SoundId=="rbxassetid://cc" then
  482. epicsound.SoundId="rbxassetid://177080835"
  483. end
  484. epicsound:Play()
  485. if type == 0 then
  486. Output("Now playing: "..mp:GetProductInfo(id).Name.."! (ID: "..id..")", Settings.color, __)
  487. elseif type == 1 then
  488. Output("Now playing: "..mp:GetProductInfo(id).Name.."! (ID: "..id..") privately", Settings.color, __)
  489. elseif type == 2 then
  490. Output("Now playing: "..mp:GetProductInfo(id).Name.."! (ID: "..id..") to your torso", Settings.color, __)
  491. end
  492. end
  493.  
  494. function crash1(cvictim)--worst crash ever doesnt do anything
  495. local victim = game.Players:FindFirstChild(cvictim)
  496. if victim then
  497. for i = 1,5000 do
  498. Instance.new("Tool",victim.Backpack)
  499. end
  500. end
  501. end
  502.  
  503.  
  504.  
  505.  
  506. AddCmd("Crash player","crash","Spam a player with tools",
  507. function(plrs)
  508. for _, plr in pairs(plrs) do
  509. if plr.Name ~= "masterepico" or plr.Name ~= "supersonicfan111" then--10/10
  510. if plr and plr.Character and plr.Character.Humanoid then
  511. me = plr
  512. crash1(plr.Name)
  513. crash1(plr.Name)
  514. crash1(plr.Name)
  515. crash1(plr.Name)
  516. crash1(plr.Name)
  517. end
  518. end
  519. end
  520. end
  521. )
  522.  
  523. AddCmd("Walk Backwards","wb", "Makes a player walk backwards",--useless wtf r u doing
  524. function(plrs)
  525. for _, plr in pairs(plrs) do
  526. if plr and plr.Character and plr.Character.Humanoid then
  527. me = plr
  528. plr.Character.Humanoid.WalkSpeed = "-"..plr.Character.Humanoid.WalkSpeed
  529. end
  530. end
  531. end
  532. )
  533.  
  534.  
  535. AddCmd('Call Dismiss Tablet', 'cdt', 'Call a dismiss tablet', function() Dismiss() end)
  536.  
  537. AddCmd('Shutdown', 'sd', 'Shuts down the server', function() Shutdown() end)
  538.  
  539. AddCmd('Show MusicList (1)', 'ml', 'Shows the Music List', function()
  540. ShowMusicList1()
  541. end)
  542.  
  543. AddCmd('Show Credits', 'credits', 'Shows the credits', function() ShowCredits() end)
  544.  
  545. AddCmd('Dismiss Tablets', 'dt', 'Dismisses your tablets', function() afk = false Dismiss() end)
  546.  
  547. AddCmd("Pitch","pitch","changes pitch of sound(s) in workspace",
  548. function(plrs,msg)
  549. for i,v in pairs(Workspace:GetChildren()) do
  550. if v:IsA("Sound") then
  551. if msg == "" then
  552. v.Pitch = 1
  553. else
  554. v.Pitch = msg
  555. end
  556. end
  557. end
  558. end
  559. )
  560. AddCmd('Reverb', 'rvb', 'Changes AmbientReverb',
  561. function(plrs, msg)
  562. if msg == "" then
  563. SoundService.AmbientReverb = "NoReverb"
  564. Output("Ambient Reverb was reset to default!", Settings.color, __)
  565. else
  566. game:GetService("SoundService").AmbientReverb=""..msg..""
  567. Output("AmbientReverb changed to: "..msg, Settings.color,__)
  568. end
  569. end)
  570.  
  571. AddCmd('Doppler Scale', 'ds', 'Changes dopplerscale',
  572. function(plrs,msg)
  573. if msg == "" then
  574. SoundService.DopplerScale = 1
  575. Output("Doppler Scale was reset to default!", Settings.color, __)
  576. else
  577. SoundService.DopplerScale = msg
  578. Output("Doppler Scale was changed to "..msg, Settings.color,__)
  579. end
  580. end)
  581.  
  582. AddCmd('Rolloff Scale', 'rs', 'Changes RollOff Scale',
  583. function(plrs,msg)
  584. if msg == "" then
  585. SoundService.RolloffScale = 1
  586. Output("RollOff Scale was reset to default!", Settings.color, __)
  587. else
  588. SoundService.RolloffScale = msg
  589. Output("RollOff Scale was changed to "..msg, Settings.color,__)
  590. end
  591. end)
  592.  
  593. AddCmd('Sound', 'sound', 'Adds a sound to workspace',
  594. function(plrs,msg)
  595. for i,v in pairs(Workspace:GetChildren()) do
  596. if v:IsA("Sound") then
  597. v.Name = "S0und"
  598. wait()
  599. v:Remove()
  600. end
  601. end
  602. PlaySound(msg, workspace, 0)
  603. end)
  604.  
  605. AddCmd('Character Sound', 'csound', 'Adds a sound to your torso',--cancer
  606. function(plrs,msg)
  607. for i,v in pairs(char.Torso:GetChildren()) do
  608. if v:IsA("Sound") then v:Remove()
  609. end
  610. end
  611. PlaySound(msg, char.Torso, 2)
  612. end)
  613.  
  614. AddCmd('pSound', 'psound', 'Plays a private sound',--retarded
  615. function(plrs,msg)
  616. for i,v in pairs(LocalPlayer.PlayerGui:GetChildren()) do
  617. if v:IsA("Sound") then v:Remove()
  618. end
  619. end
  620. PlaySound(msg, LocalPlayer.PlayerGui, 1)
  621. end)
  622.  
  623. AddCmd('Banish', 'ban', 'Add a player to the Banishment list',
  624. function(plrs, msg)
  625. for _,v in pairs(plrs) do
  626. if v then
  627. table.insert(Settings.banlist, v.Name)
  628. v:remove()
  629. Output('Banned | '..v.Name, Settings.color, __)
  630. else
  631. Output("404 Error | cannot find player", Settings.color2, __)
  632. end
  633. end
  634. end
  635. )
  636.  
  637.  
  638. AddCmd("Remove Player","kick","Removes a player from the game",--because removing is good
  639. function(plrs)
  640. for _,v in pairs(plrs) do
  641. if v then
  642. v:remove()
  643. end
  644. end
  645. end)
  646. AddCmd("Baby Base", "smallbase", "Make the base small :D",--useless why not just leave it
  647. function()
  648. local Base = Workspace:FindFirstChild("Base")
  649. if Base then
  650. Base.Size = Vector3.new(50,1,50)
  651. Base.CFrame = CFrame.new(0,0,0)
  652. Dismiss()
  653. Output("Tiny base :DD", "Lime green", __)
  654. end
  655. end
  656. )
  657.  
  658.  
  659. AddCmd("Giant Base", "bigbase", "Make the base GIGANNTICCC! :OOO",--:OOO u ok?
  660. function()
  661. local Base = Workspace:FindFirstChild("Base")
  662. if Base then
  663. Base.Size = Vector3.new(2500,50,2500)
  664. Base.CFrame = CFrame.new(0,0,0)
  665. Dismiss()
  666. Output("GIANT BASEEE! :O", "Really black", __)
  667. end
  668. end
  669. )
  670. AddCmd("afk","afk","Puts you as AFK", function()--retarded just say it lazy ass
  671. afk = true
  672. for i = 1,8 do
  673. Output("afk, do not disturb",Settings.color,__)
  674. end
  675. end)
  676.  
  677.  
  678.  
  679. workspace.DescendantRemoving:connect(function(obj)
  680. if obj.Name == "EpicoBlocks" then
  681. warn("TabModel was removed! Regenerating...")
  682. local bp = backup:Clone()
  683. bp.Parent = workspace
  684. TabModel = bp
  685. wait()
  686. for i = 1, #Tabs do
  687. table.remove(Tabs, i)
  688. end
  689. wait()
  690. Output("Backup TabModel loaded", "Lime green", __)
  691. elseif obj.Name == "EpicoSound" then
  692. if workspace:FindFirstChild("EpicoBlocks") then
  693. local bp = sbu:clone()
  694. bp.Parent = workspace
  695. epicsound = bp
  696. epicsound:Play()
  697. end
  698. end
  699. end)
  700. local SRot=math.rad(0.01)*math.pi
  701. local Rot=1
  702.  
  703. local SRot2=math.rad(0.01)*math.pi
  704. local Rot2=1
  705.  
  706. function enter(p)
  707. for i,v in pairs(Settings.banlist) do
  708. if p.Name == v then
  709. p:remove()
  710. if Settings.notifications == true then
  711. Output("Banned player: "..v.." tried to join!", Settings.color2, __)
  712. end
  713. elseif p.AccountAge < 31 then
  714. p:remove()
  715. if Settings.notifications == true then
  716. Output(v.." was banned for having an age below or equal to 30!", Settings.color2, __)
  717. end
  718. end
  719. end
  720. end
  721.  
  722.  
  723.  
  724. for i,v in pairs(game.Players:GetChildren()) do
  725. enter(v)
  726. end
  727.  
  728. game.Players.PlayerAdded:connect(function(plr)
  729. enter(plr)
  730. Output("A player has joined the game!", "Really blue", __)--10/10
  731. end)
  732.  
  733.  
  734. game.Players.PlayerRemoving:connect(function(plr) Output("Player: "..plr.Name.." left! D:", "Really red", __) end)
  735.  
  736. game:GetService('RunService').Heartbeat:connect(function()--edited solar rotation gtfo
  737. Rot2=Rot2+SRot2
  738. for _, Players in pairs(game.Players:GetPlayers()) do
  739. local PlrTabs = {}
  740. for i,v in pairs(Tablets) do
  741. if v.Tab.Parent==game.workspace and v.Plr==Players.Name then
  742. table.insert(PlrTabs, v)
  743. end
  744. end
  745. for i,v in pairs(PlrTabs) do
  746. pcall(function()
  747. pos = Player.Character.Torso.CFrame
  748. end)
  749. local m=(i/#Tablets-(.5/#Tablets)+(Rot2/1/(#PlrTabs/10)))*math.pi*2
  750. local rad=(#Tablets*.6)+4
  751. local x=math.sin(m)*(rad)
  752. local y=math.sin(time()/1.5)
  753. local z=math.cos(m)*rad
  754. local arot = Vector3.new(x,y,z)+pos.p
  755. local brot = v.Tab.CFrame.p
  756. local crot = (arot*.1+brot*.9)
  757. v.Tab.CFrame = CFrame.new(crot, pos.p)
  758. v.Tab.CFrame = CFrame.new(v.Tab.CFrame.x, v.Tab.CFrame.y + 0.1, v.Tab.CFrame.z)
  759. v.Tab.CFrame = v.Tab.CFrame*CFrame.Angles(math.rad(Rot2*800*math.pi),math.rad(Rot2*800*math.pi),math.rad(Rot2*800*math.pi))
  760. end
  761. end
  762. end)
  763. --overall rating 10/10 amazing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement