EmeraldIT

yes

Jul 10th, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.70 KB | None | 0 0
  1. local plr = owner
  2.  
  3. local tablets = {}
  4.  
  5. local vt = Vector3.new
  6.  
  7. local InnerCol = "White"
  8. local fol = Instance.new("Folder")
  9. local Servz = {
  10. Users = game:GetService("Players"),
  11. Lighting = game:GetService("Lighting"),
  12. Runz = game:GetService("RunService"),
  13. Deb = game:GetService("Debris")
  14. }
  15.  
  16. local Tab = {
  17. Rot = 0;
  18. Dist = 7;
  19. Speed = 0.2;
  20. Smooth = .075;
  21. }
  22.  
  23. local playing = "false"
  24.  
  25. local diss = false
  26.  
  27. local work = workspace
  28.  
  29. local mainfont = "Fantasy"
  30.  
  31. local vertabsOn = true
  32.  
  33. local colorchanging = {}
  34.  
  35. fol.Parent = workspace
  36.  
  37. local plr = Servz.Users.PhoenixClockworks
  38.  
  39. local cha = Servz.Users.PhoenixClockworks.Character
  40.  
  41. local fontlist = {"Legacy", "Arial", "ArialBold", "SourceSans", "SourceSansBold", "SourceSansSemibold", "SourceSansLight", "SourceSansItalic", "Bodoni", "Garamond", "Cartoon", "Code", "Highway", "SciFi", "Arcade", "Fantasy", "Antique", "Gotham", "GothamSemibold", "GothamBold", "GothamBlack"}
  42.  
  43. local swait = function(num)
  44. if num==0 or num==nil then
  45. game:service'RunService'.Heartbeat:wait(0)
  46. else
  47. for i=0,num do
  48. game:service'RunService'.Heartbeat:wait(0)
  49. end
  50. end
  51. end
  52.  
  53. function task(tasktocomplete)
  54. spawn(function()
  55. pcall(tasktocomplete)
  56. end)
  57. end
  58.  
  59. function getplayer(text)
  60. split = string.split(text, " ")
  61. local plar
  62. for i, v in pairs(Servz.Users:GetChildren()) do
  63. if v.Name:lower():sub(1, split[2]:len()) == split[2]:lower() then
  64. plar = v
  65. end
  66. end
  67. return plar
  68. end
  69.  
  70. function makescript(info)
  71. local succ, err = pcall(function()
  72. NS(info, workspace)
  73. end)
  74. if succ then return true
  75. else
  76. return err
  77. end
  78. end
  79.  
  80. function makelocalscript(info)
  81. local succ, err = pcall(function()
  82. NLS(info, workspace)
  83. end)
  84. if succ then return true
  85. else
  86. return err
  87. end
  88. end
  89.  
  90. function joinstrings(tabl, joint)
  91. local string = nil
  92. for i = 1, #tabl do
  93. string = ""..tabl[i]..joint..string..""
  94. end
  95. return string
  96. end
  97.  
  98. --[[local naeeym2 = Instance.new("BillboardGui", cha.Head)
  99. naeeym2.AlwaysOnTop = true
  100. naeeym2.Size = UDim2.new(5,35,2,15)
  101. naeeym2.StudsOffset = Vector3.new(0,2,0)
  102. naeeym2.Adornee = cha.Head
  103. naeeym2.Name = "Text"
  104. local tecks2 = Instance.new("TextLabel",naeeym2)
  105. tecks2.BackgroundTransparency = 1
  106. tecks2.TextScaled = true
  107. tecks2.BorderSizePixel = 0
  108. tecks2.Text = "wow"
  109. tecks2.Font = mainfont
  110. tecks2.TextSize = 30
  111. tecks2.TextTransparency = 0
  112. tecks2.TextStrokeTransparency = 1
  113. tecks2.TextColor3 = Color3.new(1,1,1)
  114. tecks2.TextStrokeColor3 = Color3.new(1,1,1)
  115. tecks2.Size = UDim2.new(1,0,0.4,0)
  116. tecks2.ZIndex = 2
  117. tecks2.Parent = naeeym2
  118.  
  119. local tecks = Instance.new("TextLabel",naeeym2)
  120. tecks.BackgroundTransparency = 1
  121. tecks.TextScaled = true
  122. tecks.BorderSizePixel = 0
  123. tecks.Text = "wow"
  124. tecks.Font = mainfont
  125. tecks.TextSize = 30
  126. tecks.TextTransparency = 0
  127. tecks.TextStrokeTransparency = 0
  128. tecks.TextColor3 = Color3.new(1,1,1)
  129. tecks.TextStrokeColor3 = Color3.new(1,1,1)
  130. tecks.Size = UDim2.new(1,0,0.4,0)
  131. tecks.Parent = naeeym2
  132. gradient = Instance.new("UIGradient", tecks)
  133. gradient.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(1,1,0),Color3.new(0,1,0),Color3.new(0,1,1),Color3.new(0,0,1),Color3.new(1,0,1))
  134. ]]
  135.  
  136. local forceclear = function()
  137. Tab.Speed = 0.2
  138. diss = false
  139. for _,v in pairs(script:GetDescendants()) do
  140. local vv = v
  141. spawn(function()
  142.  
  143. for i = 1,10 do
  144. pcall(function()
  145. vv.Size = vv.Size:Lerp(Vector3.new(0,0,0), 0.1)
  146. end)
  147. pcall(function()
  148. if v:IsA("Part") then
  149. vv.Transparency = i/10
  150. end
  151. end)
  152. pcall(function()
  153. vv.TextTransparency = i/10
  154. end)
  155. pcall(function()
  156. vv.TextStrokeTransparency = i/10
  157. end)
  158. swait()
  159. end
  160. vv:Destroy()
  161.  
  162. end)
  163. end
  164. end
  165.  
  166. function tablet(Color, text, font, dismisser, thingtodo)
  167. if diss == true and dismisser == true then return end
  168. if dismisser == true then
  169. diss = true
  170. Color = BrickColor.new("Really red").Color
  171. text = "Dismiss"
  172. end
  173. local p = Instance.new("FlagStand", script)
  174. table.insert(tablets, p)
  175. p.Material = "Glass"
  176. p.Color = BrickColor.new(InnerCol).Color
  177. p.CanCollide = false
  178. p.Anchored = true
  179. p.Position = cha.Head.Position
  180. p.Shape = "Ball"
  181. p.Size = vt(2.5,2.5,2.5)
  182. local p2 = p:Clone()
  183. p2.Parent = p
  184. p2.Size = vt(2.51,2.51,2.51)
  185. p2.Anchored = false
  186. p2.Material = "Glass"
  187. p2.Color = Color
  188. p2.Transparency = 0.865
  189. p2.Position = cha.Head.Position
  190. local p3 = p2:Clone()
  191. p3.Parent = p
  192. p.Anchored = true
  193. p3.Material = "ForceField"
  194. p3.Transparency = 0
  195. p3.Anchored = false
  196. p3.Size = vt(2.52,2.52,2.52)
  197. p3.Position = cha.Head.Position
  198. local click = Instance.new("ClickDetector", p3)
  199. if dismisser == true then
  200. click.MouseClick:Connect(function(ww)
  201. if ww ~= plr then print("who deh fuck dis dude: "..ww.Name) return end
  202. forceclear()
  203. end)
  204. end
  205. Wel = Instance.new("Weld", p)
  206. Wel2 = Wel:Clone()
  207. Wel2.Parent = p
  208. Wel.Part0 = p
  209. Wel.Part1 = p2
  210. Wel.C0 = CFrame.new(0,0,0)
  211. Wel2.Part0 = p
  212. Wel2.Part1 = p3
  213. Wel2.C0 = CFrame.new(0,0,0)
  214. local naeeym2 = Instance.new("BillboardGui", p)
  215. naeeym2.AlwaysOnTop = true
  216. naeeym2.Size = UDim2.new(5,35,2,15)
  217. naeeym2.StudsOffset = Vector3.new(0,2,0)
  218. naeeym2.Adornee = p
  219. naeeym2.Name = "Text"
  220. local tecks2 = Instance.new("TextLabel",naeeym2)
  221. tecks2.BackgroundTransparency = 1
  222. tecks2.TextScaled = true
  223. tecks2.BorderSizePixel = 0
  224. tecks2.Text = text
  225. tecks2.Font = font
  226. tecks2.TextSize = 30
  227. tecks2.TextStrokeTransparency = 0
  228. tecks2.TextColor3 = BrickColor.new(InnerCol).Color
  229. tecks2.TextStrokeColor3 = Color
  230. tecks2.Size = UDim2.new(1,0,0.4,0)
  231. tecks2.Parent = naeeym2
  232.  
  233. click.MouseHoverEnter:Connect(function()
  234. Tab.Speed = 0
  235. end)
  236. click.MouseHoverLeave:Connect(function()
  237. Tab.Speed = 0.2
  238. end)
  239. if not dismisser then
  240. click.MouseClick:Connect(function()
  241. if ww ~= plr then print("who deh fuck dis dude: "..ww.Name) return end
  242. task(thingtodo)
  243. end)
  244. end
  245. end
  246.  
  247.  
  248. local angle = 0
  249.  
  250. function getpos()
  251. local char = plr.Character
  252. local part = char and (char:FindFirstChild'HumanoidRootPart' or char.PrimaryPart)
  253. return part and CFrame.new(part.Position) or CFrame.new(0,10,0)
  254. end
  255.  
  256. spawn(function()
  257. while true do
  258. cha = plr.Character
  259. for i = 1, #tablets do
  260. pcall(function()
  261. if tablets[i].Parent ~= script then table.remove(tablets, i) end
  262. end)
  263. end
  264. local Tick = tick()
  265. local debounce = false
  266. if tablets and debounce == false then
  267. Tab.Rot = Tab.Rot>=360 and 0 or Tab.Rot + Tab.Speed
  268. debounce = true
  269. end
  270. for i = 1, #tablets do
  271. local char = cha;
  272. local pos = (char:findFirstChild'Torso' or char:findFirstChild'UpperTorso' or char:FindFirstChild'HumanoidRootPart' or Instance.new("FlagStand")).CFrame;
  273. local tab = tablets[i];
  274. local Distance = Tab.Dist+(#tablets/2.5)
  275. local Angle = math.rad(i*(360/#tablets)+Tab.Rot)
  276. pcall(function()
  277. tablets[i].CFrame = tablets[i].CFrame:lerp(CFrame.new(pos.X, pos.Y, pos.Z) * CFrame.Angles(0, Angle, 0) * CFrame.new(0, math.sin(i+Tick)/2, Distance), Tab.Smooth)
  278. --[[ tablets[i].B.CFrame = tablets[i].CFrame
  279. tablets[i].B.tortoise.CFrame = tablets[i].B.CFrame]]
  280. end)
  281. end
  282. swait()
  283. end
  284. end)
  285.  
  286. spawn(function()
  287. while true do
  288. if vertabsOn == true then
  289. for _,v in pairs(workspace:GetDescendants()) do
  290. if string.sub(v.Name, 1, 14) == "VERITAS TABLET" then
  291. v:Remove()
  292. end
  293. end
  294. end
  295. wait()
  296. end
  297. end)
  298.  
  299. tablet(Color3.new(1,0.7,1), "Hello "..plr.Name, mainfont, false)
  300. tablet(Color3.new(1,0.7,1), "E X O U S I A H U B has loaded.", mainfont, false)
  301. tablet(Color3.new(1,0.7,1), "This admin is in the early stages of development, so errors may occur.", mainfont, false)
  302. tablet(Color3.new(1,0.7,1), "Commands list WIP.", mainfont, false)
  303. tablet(Color3.new(1,0.7,1), "Commands are WIP.", mainfont, false)
  304. tablet(Color3.new(1,0.7,1), "Test tablet ", mainfont, true)
  305.  
  306. local Commands = {}
  307. Commands.test = {
  308. name = "Test",
  309. args = "None",
  310. allias = "test",
  311. requiresargs = false
  312. }
  313.  
  314. Commands.qrun = {
  315. name = "Quick run",
  316. args = "script to run",
  317. allias = "quickrun, qrun",
  318. requiresargs = true
  319. }
  320.  
  321. Commands.qlrun = {
  322. name = "Quick local run",
  323. args = "script to run",
  324. allias = "quicklocalrun, qlrun",
  325. requiresargs = true
  326. }
  327.  
  328. Commands.kill = {
  329. name = "Kill",
  330. args = "player to kill",
  331. allias = "kill, break",
  332. requiresargs = true
  333. }
  334.  
  335. Commands["nil"] = {
  336. name = "Nil",
  337. args = "player to nil",
  338. allias = "nil, remove",
  339. requiresargs = true
  340. }
  341.  
  342. Commands.changefont = {
  343. name = "Change font",
  344. args = "None",
  345. allias = "font, changefont",
  346. requiresargs = false
  347. }
  348.  
  349. Commands.fling = {
  350. name = "Fling",
  351. args = "who to fling, power",
  352. allias = "fl, fling",
  353. requiresargs = true
  354. }
  355.  
  356. Commands.help = {
  357. name = "Help",
  358. args = "None",
  359. allias = "?, help",
  360. requiresargs = false
  361. }
  362.  
  363. Commands.respawn = {
  364. name = "Respawn",
  365. args = "None",
  366. allias = "re, respawn",
  367. requiresargs = false
  368. }
  369.  
  370. Commands.vertabs = {
  371. name = "Veritas Tabs ON/OFF",
  372. args = "on/off",
  373. allias = "vertabs",
  374. requiresargs = true
  375. }
  376.  
  377. Commands.commands = {
  378. name = "Commands",
  379. args = "None",
  380. allias = "cmds, commands",
  381. requiresargs = false
  382. }
  383.  
  384. local CommandGo = function(command, args)
  385. forceclear()
  386. if command == "quick run" then
  387. task(function()
  388. tablet(Color3.new(0,1,1), "Making Script...", mainfont, false)
  389. hhh = string.split(args.text, " ")[2]
  390. thing = makescript(hhh)
  391. if thing == true then
  392. tablet(Color3.new(0,1,0), "Script ran successfully!", mainfont, false)
  393. else
  394. tablet(Color3.new(1,0.5,0), "Error running script: "..thing, mainfont, false)
  395. end
  396. tablet(Color3.new(0,0,0), "~", mainfont, true)
  397. end)
  398. end
  399.  
  400. if command == "quick local run" then
  401. task(function()
  402. tablet(Color3.new(0,0.5,1), "Making Local Script...", mainfont, false)
  403. hhh = string.split(args.text, " ")[2]
  404. thing = makelocalscript(hhh)
  405. if thing == true then
  406. tablet(Color3.new(0,1,0), "Local script ran successfully!", mainfont, false)
  407. else
  408. tablet(Color3.new(1,0.5,0), "Error running local script: "..thing, mainfont, false)
  409. end
  410. tablet(Color3.new(0,0,0), "~", mainfont, true)
  411. end) -- task(function()
  412. end -- if command == "quick local run" then
  413.  
  414. if command == "kill" then
  415. task(function()
  416. plar = getplayer(args.text)
  417. succ, err = pcall(function()
  418. plar.Character:BreakJoints()
  419. end)
  420. if succ then
  421. tablet(Color3.new(0,0,0), "~", mainfont, true)
  422. return tablet(Color3.new(0,1,0), "Successfully killed "..plar.Name.."!", mainfont, false)
  423. else
  424. tablet(Color3.new(0,0,0), "~", mainfont, true)
  425. return tablet(Color3.new(1,0.5,0), "Could not kill "..plar.Name..": "..err, mainfont, false)
  426. end
  427. end) -- task(function()
  428. end -- if command == "kill" then
  429.  
  430. if command == "nil" then
  431. task(function()
  432. plar = getplayer(args.text)
  433. succ, err = pcall(function()
  434. if plar == plr then error("You can't nil your own character, the script will break.") end
  435. plar.Character.Parent = nil
  436. plar.Character = nil
  437. end)
  438. if succ then
  439. tablet(Color3.new(0,0,0), "~", mainfont, true)
  440. return tablet(Color3.new(0,1,0), "Successfully nil'd "..plar.Name.."'s character!", mainfont, false)
  441. else
  442. tablet(Color3.new(0,0,0), "~", mainfont, true)
  443. return tablet(Color3.new(1,0.5,0), "Could not nil "..plar.Name.."'s character: "..err, mainfont, false)
  444. end
  445. end) -- task(function()
  446. end -- if command == "nil" then
  447.  
  448. if command == "respawn" then
  449. task(function()
  450. plar = getplayer(args.text)
  451. succ, err = pcall(function()
  452. plar.Character = nil
  453. plar:LoadCharacter()
  454. end)
  455. if succ then
  456. tablet(Color3.new(0,0,0), "~", mainfont, true)
  457. return tablet(Color3.new(0,1,0), "Successfully respawned "..plar.Name.."!", mainfont, false)
  458. else
  459. tablet(Color3.new(0,0,0), "~", mainfont, true)
  460. return tablet(Color3.new(1,0.5,0), "Could not respawn "..plar.Name..": "..err, mainfont, false)
  461. end
  462. end) -- task(function()
  463. end -- if command == "nil" then
  464.  
  465. if command == "test" then
  466. task(function()
  467. tablet(Color3.new(1,0,0.5), "This is a test tab.", mainfont, false)
  468. tablet(Color3.new(0,0,0), "~", mainfont, true)
  469. end) -- task(function()
  470. end -- if command == "test"
  471.  
  472. if command == "help" then
  473. task(function()
  474. tablet(Color3.new(1,0.7,1), "The prefix of this hub is '/ex '", mainfont, false)
  475. tablet(Color3.new(1,0.7,1), "Say '/ex cmds' to see the commands.", mainfont, false)
  476. tablet(Color3.new(0,0,0), "~", mainfont, true)
  477. end) -- task(function()
  478. end -- if command == help"
  479.  
  480. if command == "cmds" then
  481. task(function()
  482. for i, v in pairs(Commands) do
  483. tablet(Color3.new(1,0.7,1), v.name, mainfont, false, function()
  484. forceclear()
  485. tablet(Color3.new(0,0,0), "~", mainfont, true)
  486. tablet(Color3.new(1,0.7,1), "Requires arguments: "..tostring(v.requiresargs), mainfont, false)
  487. tablet(Color3.new(1,0.7,1), "Command name: "..v.name, mainfont, false)
  488. tablet(Color3.new(1,0.7,1), "Command arguments: "..v.args, mainfont, false)
  489. tablet(Color3.new(1,0.7,1), "Command alliases: "..v.allias, mainfont, false)
  490. end) -- tablet(Color3.new(1,0.7,1), v.name, mainfont, false, function()
  491. end -- for i, v in pairs(Commands)
  492. tablet(Color3.new(0,0,0), "~", mainfont, true)
  493. end) -- task(function()
  494. end -- if command == help"
  495.  
  496. if command == "font change" then
  497. task(function()
  498. for i = 1,21 do
  499. local ii = i
  500. tablet(Color3.new(1,0.7,1), tostring(fontlist[ii]), fontlist[ii], false, function()
  501. forceclear()
  502. mainfont = fontlist[ii]
  503. tablet(Color3.new(0,1,0), "Font set to "..tostring(fontlist[ii]), fontlist[ii], false)
  504. task(function() wait(3) forceclear() end)
  505. end)
  506. end -- for i = 1,20
  507. tablet(Color3.new(0,0,0), "~", mainfont, true)
  508. end) -- task(function()
  509. end -- if command == "font change" then
  510.  
  511. if command == "vertabs" then
  512. task(function()
  513. if args.text == "on" then
  514. vertabsOn = true
  515. tablet(Color3.new(0,1,0), "Veritas tabs enabled", mainfont, false)
  516. tablet(Color3.new(0,0,0), "~", mainfont, true)
  517. elseif args.text == "off" then
  518. vertabsOn = false
  519. tablet(Color3.new(1,0.5,0), "Veritas tabs disabled", mainfont, false)
  520. tablet(Color3.new(0,0,0), "~", mainfont, true)
  521. end
  522. end) -- task(function()
  523. end -- if command == "vertabs" then
  524.  
  525. if command == "fling" then
  526. task(function()
  527. plar = getplayer(args.playertext)
  528. succ, err = pcall(function()
  529. plar.Character:FindFirstChildOfClass("Humanoid").Sit = true
  530. plar.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  531. bv = Instance.new("BodyVelocity", plar.Character.HumanoidRootPart or plar.Character.Head or plar.Character.PrimaryPart)
  532. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  533. power = args.power * 10
  534. bv.Velocity = Vector3.new(math.random(-power, power), math.random(10, power*2), math.random(-power, power))
  535. spawn(function()
  536. swait(1)
  537. bv:Remove()
  538. plar.Character:FindFirstChildOfClass("Humanoid").Sit = false
  539. plar.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  540. end) -- spawn(function()
  541. end) -- succ, err = pcall(function()
  542. if succ then
  543. tablet(Color3.new(0,0,0), "~", mainfont, true)
  544. return tablet(Color3.new(0,1,0), "Successfully flung "..plar.Name.."!", mainfont, false)
  545. else
  546. tablet(Color3.new(0,0,0), "~", mainfont, true)
  547. return tablet(Color3.new(1,0.5,0), "Could not fling "..plar.Name..": "..err, mainfont, false)
  548. end -- if succ then
  549. end) -- task(function()
  550. end -- if command == "fling" then
  551. end -- local CommandGo = function(command, args)
  552.  
  553.  
  554. --1084975295 = rainbow shine particle id
  555.  
  556.  
  557. owner.Chatted:Connect(function(c)
  558. cl = c
  559. if string.lower(string.sub(cl, 1, 4)) == "/ex " then
  560. comm = string.sub(cl, 5, 100000)
  561. if string.lower(comm) == "test" then
  562. CommandGo("test", {})
  563. elseif string.lower(string.sub(comm, 1, 5)) == "qrun " or string.lower(string.sub(comm, 1, 9)) == "quickrun " then
  564. CommandGo("quick run", {text = comm})
  565. elseif string.lower(string.sub(comm, 1, 4)) == "help" or string.lower(comm) == "?" then
  566. CommandGo("help", {})
  567. elseif string.lower(string.sub(comm, 1, 4)) == "cmds" or string.lower(comm) == "commands" then
  568. CommandGo("cmds", {})
  569. elseif string.lower(string.sub(comm, 1, 4)) == "font" or string.lower(comm) == "changefont" then
  570. CommandGo("font change", {})
  571. elseif string.lower(string.sub(comm, 1, 6)) == "qlrun " or string.lower(string.sub(comm, 1, 14)) == "quicklocalrun " then
  572. CommandGo("quick local run", {text = comm})
  573. elseif string.lower(string.sub(comm, 1, 5)) == "kill " or string.lower(string.sub(comm, 1, 6)) == "break " then
  574. CommandGo("kill", {text = comm})
  575. elseif string.lower(string.sub(comm, 1, 4)) == "nil " or string.lower(string.sub(comm, 1, 7)) == "remove " then
  576. CommandGo("nil", {text = comm})
  577. elseif string.lower(string.sub(comm, 1, 6)) == "fling " or string.lower(string.sub(comm, 1, 3)) == "fl " then
  578. CommandGo("fling", {playertext = comm, power = tonumber(string.split(comm, " ")[3])})
  579. elseif string.lower(string.sub(comm, 1, 3)) == "re " or string.lower(string.sub(comm, 1, 8)) == "respawn " then
  580. CommandGo("respawn", {text = comm})
  581. elseif string.lower(string.sub(comm, 1, 8)) == "vertabs " then
  582. CommandGo("vertabs", {text = string.split(comm, " ")[2]})
  583. end
  584. end
  585. end)
Add Comment
Please, Sign In to add comment