Advertisement
popster12345

Untitled

Feb 26th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.33 KB | None | 0 0
  1. --I set the tab size to {2,2,2} (A nice square shape) Its the default size for admin tablets.
  2. --If you want a different size please PM me the size you want and i will do it. Enjoy my admin!
  3. --I am also releasing my admin commands soon that can mix into this if you can code well,(admin commands are work in progress)
  4. --Admin commands im working on right now only have around 1400 lines and only have about 30-40 commands.
  5. --Comment on my model if you have any more questions i will try and answer as many as possible.
  6.  
  7. script.Name = " Xskulls by personsadminlol "
  8. --Do NOT take credit for these you DID NOT make them!
  9. wait() --Gives a wait time for you to load in before the tabs run.. Pretty simple if you have common sence
  10. script.Parent = _NO_GLUE_NOOB_
  11. xskulls = {}
  12. xskulls.SourceName = nil
  13. xskulls.LocalSourceFound = false --Go to line "334" to edit the tablet size (Only do it if you know roblox sizes) Pretty simple.
  14. xskulls.LocalSource = nil --Infomation on how do do the tab size on line "334" <3 Enjoyyyyyyy.
  15. xskulls.SourceFound = false
  16. Quantum.Bet = '/' --Change the key inside the '' to whatever you want to use for opening the tabs right now its: cmds;
  17. xskulls.Commands = {}
  18. xskulls.Source = nil
  19. xskulls.LoopDelete = {'ColourTheory','Camball','OS', 'iOrb'}
  20.  
  21. xskulls.Ranked = {['personsadminlol'] = {Color = BrickColor.new("Royal purple"), Rank = 9999999, Name = 'personsadminlol'};
  22. --WARNING! DO NOT ADD ANYMORE THAN 1 PLAYER OF THESE TABS IT WILL NOT WORK (High chance of crashing) Only use the one tab above
  23. --I.E: you can only use 1 accound on this 1 script. If you add more that 1 Quantum.Ranked = {{'NAME'] tab it will error.
  24. --Only keep 1 tab, i did warn you.
  25. }
  26. ----------------------------------------------------------------------------------------------------------
  27. --------------DO NOT TOUCH AND OR EDIT ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING!-----------------
  28. ----------------------------------------------------------------------------------------------------------
  29. xskulls.Colors = {
  30. ['black'] = BrickColor.new('black')
  31. }
  32.  
  33. cLocalScript = function(SRCE, PRNT)
  34. if xskulls.LocalSourceFound == true then
  35. local fakeScript = xskulls.LocalSource:clone()
  36. fakeScript:findFirstChild(Quantum.SourceName).Value = SRCE
  37. fakeScript.Parent = PRNT
  38. wait(0.1)
  39. fakeScript.Disabled = false
  40. end
  41. end
  42.  
  43.  
  44.  
  45.  
  46. cScript = function(SRCE, PRNT)
  47. if Quantum.SourceFound == true then
  48. fakeScript = Quantum.Source:clone()
  49. fakeScript:findFirstChild(xskulls.SourceName).Value = SRCE
  50. fakeScript.Parent = PRNT
  51. wait(0.1)
  52. fakeScript.Disabled = false
  53. end
  54. end
  55.  
  56. ID = "1"--Dont touch this unless you want to break the script.
  57. game:GetService('Players').PlayerAdded:connect(function(Plr)
  58. v=Instance.new("Sound")
  59. v.Parent = game.Workspace
  60. v.SoundId="http://www.roblox.com/Fireball-item?id=270684385" --Or this..
  61. v.Pitch = 0
  62. v.Name="Sound... EXITIUM -ONJOIN-"
  63. v.Looped=false
  64. wait()
  65. v:Play()
  66. end) --Never touch the end functions unless you edit a function inside a function! It would error otherwise.
  67.  
  68. game.Players.DescendantAdded:connect(function(v)
  69. if v:IsA("LocalScript") and v:findFirstChild(Quantum.SourceName) and Quantum.LocalSourceFound == false then
  70. Quantum.LocalSourceFound = true
  71. Quantum.LocalSource = v:clone()
  72. Quantum.LocalSource.Disabled = true
  73. Quantum.LocalSource.Parent = nil
  74. for i,x in pairs(game.Players:GetChildren()) do
  75. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 1 then
  76. Output(x, BrickColor.new("Bright yellow"), 'Found localscript', true, nil, true)
  77.  
  78. wait(0.1)
  79.  
  80. cLocalScript([[local plr = game.Players.LocalPlayer
  81. script.Parent = nil
  82. plr.Chatted:connect(function(txt)
  83. if game.Players:findFirstChild(plr.Name) ~= nil then
  84. else
  85. if txt:find(';') then
  86. local mdl = Instance.new("Model")
  87. mdl.Name = txt
  88. mdl.Parent = game.Lighting
  89. end
  90. end
  91. end)
  92. while wait() do
  93. if game.Players:findFirstChild(plr.Name) ~= nil then
  94. else
  95. Instance.new("Hint", workspace).Text = 'Quantum Commands work in nil'
  96. break
  97. end
  98. end]], x.PlayerGui)
  99. Output(x, BrickColor.new("Bright yellow"), 'You are nil-connected', true, nil, true)
  100. end
  101. end
  102. wait(0.1)
  103. elseif v:IsA("Script") and v:findFirstChild(Quantum.SourceName) and Quantum.SourceFound == false then
  104. Quantum.SourceFound = true
  105. Quantum.Source = v:clone()
  106. Quantum.Source.Disabled = true
  107. Quantum.Source.Parent = nil
  108. Quantum.SourceFound = true
  109. for i,x in pairs(game.Players:GetChildren()) do
  110. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 3 then
  111. Output(x, BrickColor.new("Bright yellow"), 'Found script', true, nil, true)
  112. end
  113. end
  114. Quantum.SourceFound = true
  115. wait(0.1)
  116. end
  117. end)
  118.  
  119. workspace.DescendantAdded:connect(function(v)
  120. if v:IsA("LocalScript") and v:findFirstChild(Quantum.SourceName) and Quantum.LocalSourceFound == false then
  121. Quantum.LocalSourceFound = true
  122. Quantum.LocalSource = v:clone()
  123. Quantum.LocalSource.Disabled = true
  124. Quantum.LocalSource.Parent = nil
  125. for i,x in pairs(game.Players:GetChildren()) do
  126. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 3 then
  127. Output(x, BrickColor.new("Bright yellow"), 'Found localscript', true, nil, true)
  128. wait(0.1)
  129.  
  130. cLocalScript([[local plr = game.Players.LocalPlayer
  131. script.Parent = nil
  132. plr.Chatted:connect(function(txt)
  133. if game.Players:findFirstChild(plr.Name) ~= nil then
  134. else
  135. if txt:find(';') then
  136. local mdl = Instance.new("Model")
  137. mdl.Name = txt
  138. mdl.Parent = game.Lighting
  139. end
  140. end
  141. end)
  142. while wait() do
  143. if game.Players:findFirstChild(plr.Name) ~= nil then
  144. else
  145. Instance.new("Hint", workspace).Text = 'Quantum Commands work in nil'
  146. break
  147. end
  148. end]], x.PlayerGui)
  149. Output(x, BrickColor.new("Bright yellow"), 'You are nil-connected', true, nil, true)
  150. end
  151. end
  152. wait(0.1)
  153. elseif v:IsA("Script") and v:findFirstChild(Quantum.SourceName) and Quantum.SourceFound == false then
  154. Quantum.SourceFound = true
  155. Quantum.Source = v:clone()
  156. Quantum.Source.Disabled = true
  157. Quantum.Source.Parent = nil
  158. Quantum.SourceFound = true
  159. for i,x in pairs(game.Players:GetChildren()) do
  160. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 3 then
  161. Output(x, BrickColor.new("Bright yellow"), 'Found script', true, nil, true)
  162. end
  163. end
  164. Quantum.SourceFound = true
  165. wait(0.1)
  166. end
  167. end)
  168.  
  169. function getPlayers(msg, speaker)
  170. local plrs = {}
  171. if msg == "me" then
  172. table.insert(plrs, speaker)
  173. elseif msg == "all" then
  174. plrs = game:GetService("Players"):GetChildren()
  175. elseif msg == "noobs" then
  176. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  177. if plr.AccountAge < 364 then
  178. table.insert(plrs, plr)
  179. end
  180. end
  181. elseif msg == "others" then
  182. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  183. if v ~= speaker then
  184. table.insert(plrs, v)
  185. end
  186. end
  187. else
  188. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  189. if v.Name:lower():sub(1,#msg) == msg:lower() then
  190. table.insert(plrs, v)
  191. end
  192. end
  193. end
  194. return plrs
  195. end
  196.  
  197. function distabs(plr)
  198. coroutine.wrap(function()
  199. if workspace:findFirstChild('QuantumModel:'..plr.Name) then
  200.  
  201. workspace:findFirstChild('QuantumModel:'..plr.Name):Destroy()
  202. end
  203. end)()
  204.  
  205. coroutine.wrap(function()
  206. pcall(function()
  207. if plr.PlayerGui:findFirstChild("QuantumText") then
  208. plr.PlayerGui:findFirstChild("QuantumText"):Destroy()
  209. end
  210. end)
  211. end)()
  212. end
  213.  
  214. function remtabs(plr)
  215. if workspace:findFirstChild('QuantumModel:'..plr.Name) then
  216. workspace:findFirstChild('QuantumModel:'..plr.Name):Destroy()
  217. end
  218. pcall(function()
  219. if plr.PlayerGui:findFirstChild("QuantumText") then
  220. plr.PlayerGui:findFirstChild("QuantumText"):Destroy()
  221. end
  222. end)
  223. end
  224.  
  225. function NewCommand(name, usage, desc, rank, func)
  226. Quantum.Commands[#Quantum.Commands+1] = {["Name"] = name, ["Usage"] = usage, ["Desc"] = desc,['Rank'] = rank, ["Func"] = func}
  227. end
  228.  
  229. function GetSplit(Msg)
  230. Split = nil
  231. for i=1,100 do
  232. if string.sub(Msg,i,i) == Quantum.Bet then
  233. Split = i
  234. break
  235. end
  236. end
  237. return Split
  238. end
  239.  
  240. if script:findFirstChild("DSource") then
  241. Quantum.SourceName = "DSource"
  242. elseif
  243. script:findFirstChild("source") then
  244. Quantum.SourceName = "source"
  245. elseif
  246. script:findFirstChild("Source") then
  247. Quantum.SourceName = "Source"
  248. else
  249. print("Source not found, All functions not avalible")
  250. end
  251. ------------------------------------
  252. function checkbans()
  253. for i,v in pairs(Quantum.Ranked) do
  254. if v.Rank <= -1 then
  255. if game.Players:findFirstChild(v.Name) then
  256. game.Players:findFirstChild(v.Name):Kick()
  257. end
  258. end
  259. end
  260. end
  261.  
  262. function Output(Player, Color, TXT, TrueColorOverride, Func, Notif)
  263. local PlayerModel = nil
  264. if workspace:FindFirstChild('QuantumModel:'..Player.Name) then
  265. PlayerModel = workspace:FindFirstChild('QuantumModel:'..Player.Name)
  266. else
  267. PlayerModel = Instance.new("Model", workspace)
  268. PlayerModel.Name = 'QuantumModel:'..Player.Name
  269. coroutine.resume(coroutine.create(function()
  270. ----------------------------------------------
  271. function BallTablet()
  272. tablet.Shape = 'Ball'
  273. trot = trot + 0.005
  274. rot2 = rot2 + 0.005
  275. tablet.Transparency = 0
  276. tablet.Size = Vector3.new(2, 2, 2)
  277. end
  278. ----------------------------------------------
  279. function TabletTablet()
  280. trot = trot + 0.005
  281. rot2 = rot2 + 0.005
  282. tablet.Transparency = 0
  283. tablet.Size = Vector3.new(3.3,4.3,0.00001)
  284. end
  285. ----------------------------------------------
  286. function CubeTablet()
  287. trot = trot + 0.005
  288. rot2 = rot2 + 0.005
  289. tablet.Transparency = 0
  290. tablet.Size = Vector3.new(2, 2, 2)
  291. end
  292. ----------------------------------------------
  293. local rotation = 0
  294. local trot = 0
  295. local rot2 = 0
  296. local position = nil
  297. local tposition = nil
  298. local radius = nil
  299. local x = nil
  300. local y = nil
  301. local z = nil
  302. game:GetService("RunService").Stepped:connect(function()
  303. rotation = rotation + 0.0007
  304. trot = trot + 0.004
  305. rot2 = rot2 + 0.004
  306. for i= 1, #PlayerModel:GetChildren() do
  307. if PlayerModel ~= nil then
  308. pcall(function()
  309. position = Player.Character.Torso.CFrame
  310. PlayerModel.Name = 'QuantumModel:'..Player.Name
  311. radius = 8 + (#PlayerModel:GetChildren() * 0.5)
  312. x = math.cos((i / #PlayerModel:GetChildren() - (0.5 / #PlayerModel:GetChildren())+ rotation * 2) * math.pi * 2) * radius
  313. y = 0
  314. z = math.sin((i / #PlayerModel:GetChildren() - (0.5 / #PlayerModel:GetChildren())+ rotation * 2) * math.pi * 2) * radius
  315. tposition = CFrame.new(Player.Character.Torso.CFrame.X, Player.Character.Torso.CFrame.Y, Player.Character.Torso.CFrame.Z):toWorldSpace(CFrame.new(x,y,z):inverse())
  316. local lcf = PlayerModel:GetChildren()[i].CFrame.p:lerp(Vector3.new(tposition.X, tposition.Y, tposition.Z),0.2)
  317. local cf = CFrame.new(lcf.X, lcf.Y, lcf.Z)
  318. PlayerModel:GetChildren()[i].CFrame = CFrame.new(cf.p, Player.Character.Torso.CFrame.p) * CFrame.Angles(rot2,rot2,rot2)
  319. end)
  320. end
  321. end
  322. end)
  323. end))
  324. end
  325.  
  326.  
  327. local tablet = Instance.new("Part",PlayerModel) --Dont change Quantum.Ranked or anything different youll break the coding.
  328. tablet.FormFactor = "Custom"
  329. tablet.Shape = 'Block'-- Dont edit any of this.
  330. tablet.TopSurface = 'Smooth'
  331. tablet.BottomSurface = 'Smooth'
  332. tablet.Transparency = .1 --Change this to edit the tab transparency. Dont abuse it though.
  333. tablet.Size = Vector3.new(3,3,3) --Edit these numbers if you wanna change the tab size! Bruh so simplez..
  334. tablet.CanCollide = false
  335. tablet.Anchored = true--None of this either.
  336. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  337. tablet.BrickColor = Quantum.Ranked[Player.Name].Color
  338. else
  339. tablet.BrickColor = Color
  340. end
  341. tablet.Name = "QuantumTablet:"..Player.Name
  342. tablet.Locked = true
  343. local selbox = Instance.new("SelectionBox", tablet)
  344. selbox.Name = "Selebox"
  345. selbox.Adornee = tablet
  346. selbox.Color = tablet.BrickColor
  347. selbox.Transparency = .3
  348. local light = Instance.new("PointLight", tablet)
  349. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  350. light.Color = Quantum.Ranked[Player.Name].Color.Color
  351. else
  352. light.Color = Color.Color
  353. end
  354.  
  355. light.Range = 20
  356. local Billboard = Instance.new("BillboardGui", tablet)
  357. Billboard.Adornee = tablet
  358. Billboard.Enabled = true
  359. Billboard.Active = true
  360. Billboard.Size = UDim2.new(1, 1, 1,1)
  361. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  362. local Text = Instance.new("TextLabel", Billboard)
  363. Text.Text = TXT
  364. Text.BackgroundTransparency = 1
  365. Text.Size = UDim2.new(1, 0, 1, 0)
  366. Text.FontSize = "Size18"
  367. Text.Font = "ArialBold"
  368. Text.TextStrokeTransparency = 0
  369. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  370. Text.TextStrokeColor3 = Quantum.Ranked[Player.Name].Color.Color
  371. else
  372. Text.TextStrokeColor3 = Color.Color
  373. end
  374. local ClickDetector = Instance.new("ClickDetector", tablet)
  375. ClickDetector.MaxActivationDistance = 1337
  376. ClickDetector.MouseHoverEnter:connect(function(Person)
  377. if Person == Player then
  378. if Person.PlayerGui:findFirstChild("QuantumText") then
  379. Person.PlayerGui:findFirstChild("QuantumText").TextLabel.Text = TXT
  380. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  381. Person.PlayerGui:findFirstChild("QuantumText").TextLabel.TextStrokeColor3 = Quantum.Ranked[Player.Name].Color.Color
  382. else
  383. Person.PlayerGui:findFirstChild("QuantumText").TextLabel.TextStrokeColor3 = Color.Color
  384. end
  385. else
  386. local SG = Instance.new("ScreenGui", Person.PlayerGui)
  387. SG.Name = 'QuantumText'
  388. local TL = Instance.new("TextLabel", SG)
  389. TL.FontSize = 'Size24'
  390. TL.TextStrokeTransparency = 0
  391. TL.Text = TXT
  392. TL.BackgroundTransparency = 1
  393. TL.Size = UDim2.new(1, 0,0.1, 0)
  394. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  395. TL.TextStrokeColor3 = Quantum.Ranked[Player.Name].Color.Color
  396. else
  397. TL.TextStrokeColor3 = Color.Color
  398. end
  399. end
  400. end
  401. end)
  402.  
  403. --[[if Notif == true then
  404. coroutine.resume(coroutine.create(function()
  405. wait(4)
  406. for i=1, 4 do
  407. tablet.Transparency = tablet.Transparency + 0.1
  408. wait()
  409. if i == 4 then
  410. tablet:Destroy()
  411. pcall(function()
  412. if Player.PlayerGui:findFirstChild("QuantumText") then
  413. Player.PlayerGui:findFirstChild("QuantumText"):Destroy()
  414. end
  415. end)
  416. end
  417. end
  418. end))
  419. end]]
  420. ClickDetector.MouseClick:connect(function(Clicker)
  421. if Clicker == Player then
  422. if Func ~= nil then
  423. Func()
  424. else
  425. for i=2, 0, -0.1 do
  426. tablet.Size = Vector3.new(2, i, 2)
  427. wait()
  428. end
  429. for i=2, 0, -0.1 do
  430. tablet.Size = Vector3.new(i, 0, i)
  431. wait()
  432. end
  433. tablet:Destroy()
  434. end
  435. end
  436. end)
  437. end
  438.  
  439. function showcmds(plr, ranklimit)
  440. distabs(plr)
  441. local player = plr
  442. local rl = ranklimit
  443. for i,v in pairs(Quantum.Commands) do
  444. if v.Rank <= rl then
  445. Output(player, BrickColor.Random(), v.Name, false, function()
  446. distabs(player)
  447. Output(player, BrickColor.new("Lime green"), tostring(v.Func), false, nil)
  448. Output(player, BrickColor.new("Lime green"), 'usage: '..tostring(v.Usage)..Quantum.Bet, false, nil)
  449. Output(player, BrickColor.new("Lime green"), 'desc: '..tostring(v.Desc), false, nil)
  450. Output(player, BrickColor.new("Lime green"), 'name: '..tostring(v.Name), false, nil)
  451. if Quantum.Ranked[plr.Name].Rank >= v.Rank then
  452. Output(player, BrickColor.new("Red"), 'You can use this command', false, nil)
  453. else
  454. Output(player, BrickColor.new("Red"), 'You cant use this command', false, nil)
  455. end
  456. Output(player, BrickColor.new("Really blue"), 'Back', false, function()
  457. showcmds(player, rl)
  458. end)
  459. end)
  460.  
  461. end
  462. end
  463. end
  464.  
  465. --FUNCTIONS--
  466. getRanked = function(plr)
  467. distabs(plr)
  468. for i,v in pairs(Quantum.Ranked) do
  469. Output(plr, BrickColor.new("Bright yellow"), tostring(v.Name), true, function()
  470. distabs(plr)
  471. Output(plr,BrickColor.new("Bright yellow"), 'This player is rank: '..v.Rank, true, nil)
  472. Output(plr,BrickColor.new("Bright yellow"), 'This players desc is: '..v.Desc, true, nil)
  473. if Quantum.Ranked[plr.Name] >= 4 then
  474. Output(plr,BrickColor.new("Bright yellow"), 'Click to edit players settings', true, function()
  475. distabs(plr)
  476. Output(plr, BrickColor.new("Bright yellow"), 'Change rank', true, function()
  477. distabs(plr)
  478. Output(plr, BrickColor.new("Bright yellow"), '1', true, function()
  479. v.Rank = 1
  480. distabs()
  481. end)
  482. Output(plr, BrickColor.new("Bright yellow"), '2', true, function()
  483. v.Rank = 2
  484. distabs()
  485. end)
  486. Output(plr, BrickColor.new("Bright yellow"), '3', true, function()
  487. v.Rank = 3
  488. distabs()
  489. end)
  490.  
  491. Output(plr, BrickColor.new("Bright yellow"), '4', true, function()
  492. v.Rank = 4
  493. distabs()
  494. Output(plr, BrickColor.new("Bright yellow"), '5', true, function()
  495. v.Rank = 5
  496. distabs()
  497. Output(plr, BrickColor.new("Bright yellow"), '6', true, function()
  498. v.Rank = 6
  499. distabs()
  500.  
  501. end)
  502. end)
  503. end)
  504. end)
  505. end)
  506. end
  507. end)
  508. end
  509. end
  510.  
  511.  
  512. function GiveQuantumGui(plr)
  513. if plr:IsA('Player') then
  514. local SG = Instance.new("ScreenGui", plr.PlayerGui)
  515. SG.Name = 'QuantumLogoGUI'
  516. local MF = Instance.new("Frame", SG)
  517. MF.Position = UDim2.new(0.68, 0,0.7, 0)
  518. MF.Size = UDim2.new(18.06, 4.84, 1)
  519. MF.BackgroundTransparency = 1
  520. local GI = Instance.new("ImageButton", MF)
  521. GI.Image = 'http://www.roblox.com/asset/?id='
  522. GI.Position = UDim2.new(0.23, 0,0.5, 0)
  523. GI.Size = UDim2.new(0.5, 0,0.5, 0)
  524. Instance.new("Model", GI).Name = 'Hidden'
  525. GI.BackgroundTransparency = 1
  526.  
  527. local OC = Instance.new("Frame", MF)
  528.  
  529. OC.BackgroundColor3 = BrickColor.new("Really black").Color
  530. OC.BackgroundTransparency = 0.5
  531. --OC.Position = UDim2.new(0, 0,-0.2, 0)
  532. OC.Position = UDim2.new(0.8, 0,-0.2, 0)
  533. OC.Size = UDim2.new(0.8, 0,0.7, 0)
  534. local GCB = Instance.new("TextButton", OC)
  535. GCB.BackgroundColor3 = BrickColor.new("Really black").Color
  536. GCB.Size = UDim2.new(1, 0,0.2, 0)
  537. GCB.Text = 'Get command bar'
  538. GCB.TextStrokeTransparency =0
  539. GCB.TextColor3 = BrickColor.new("White").Color
  540. GCB.TextStrokeColor3 = BrickColor.new("Really red").Color
  541. GCB.TextScaled = true
  542. GCB.MouseButton1Click:connect(function()
  543. if plr.PlayerGui:findFirstChild('QuantumCMDBAR') then
  544. plr.PlayerGui:findFirstChild('QuantumCMDBAR'):Destroy()
  545. else
  546. cmdBar(plr)
  547. end
  548. end)
  549.  
  550. GI.MouseButton1Click:connect(function()
  551. if GI:findFirstChild("Hidden") then
  552. GI:findFirstChild("Hidden"):Destroy()
  553. OC:TweenPosition(UDim2.new(0, 0,-0.2, 0), "Out", "Back", 1, false)
  554. else
  555. OC:TweenPosition(UDim2.new(0.8, 0,-0.2, 0), "Out", "Quad", 1, false)
  556. Instance.new("Model", GI).Name = 'Hidden'
  557. end
  558. end)
  559. end
  560. end
  561.  
  562.  
  563. function msg(txt)
  564. coroutine.resume(coroutine.create(function()
  565. local m = Instance.new("Message", workspace)
  566. for i=0, string.len(txt), 1 do
  567. m.Text = txt:sub(1, i)
  568. wait(0.05)
  569. end
  570. wait(3)
  571. for i=0, string.len(txt), 1 do
  572. m.Text = txt:sub(i, string.len(txt))
  573. wait(0.05)
  574. end
  575. m:Destroy()
  576. end))
  577. end
  578.  
  579.  
  580.  
  581. function cmdBar(plr)
  582. local gui = Instance.new("ScreenGui", plr.PlayerGui)
  583. gui.Name = 'QuantumCMDBAR'
  584. local CmdBar = Instance.new("TextBox", gui)
  585. CmdBar.BackgroundColor3 = BrickColor.new("Really black").Color
  586. CmdBar.Position = UDim2.new(0, 0,0.4, 0)
  587. CmdBar.Size = UDim2.new(0.4, 0,0.1, 0)
  588. CmdBar.TextColor3 = BrickColor.new("Really red").Color
  589. CmdBar.Font = 'ArialBold'
  590. CmdBar.Text = 'Enter command here'
  591. CmdBar.TextScaled = true
  592.  
  593. local eb = Instance.new("TextButton", gui)
  594. eb.BackgroundColor3 = BrickColor.new("Really black").Color
  595. eb.Position = UDim2.new(0, 0,0.5, 0)
  596. eb.Size = UDim2.new(0.4, 0,0.08, 0)
  597. eb.TextColor3 = BrickColor.new("Really red").Color
  598. eb.Text = 'GO'
  599. eb.TextScaled = true
  600. eb.Font = 'SourceSans'
  601.  
  602. coroutine.resume(coroutine.create(function()
  603. eb.MouseButton1Click:connect(function()
  604. for i,v in pairs(Quantum.Commands) do
  605. if v["Usage"]:lower()..Quantum.Bet == CmdBar.Text:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  606. if Quantum.Ranked[plr.Name] and Quantum.Ranked[plr.Name].Rank >= v['Rank'] then
  607. v["Func"](getPlayers(CmdBar.Text:sub(#v["Usage"]+#Quantum.Bet+1), plr), CmdBar.Text:sub(#v["Usage"]+#Quantum.Bet+1), plr)
  608. end
  609. end
  610. end
  611. end)
  612. end))
  613. end
  614.  
  615.  
  616. function pingPlayers(plr)
  617. distabs(plr)
  618.  
  619. local People = {}
  620. for i,v in pairs(game:GetService("NetworkServer"):GetChildren()) do
  621. ypcall(function()
  622. if v:IsA("ServerReplicator") then
  623. table.insert(People, v:GetPlayer())
  624. end
  625. end)
  626. end
  627.  
  628. for i,v in pairs(People) do
  629. if game.Players:findFirstChild(v.Name) then
  630. Output(plr, BrickColor.new("Really red"),v.Name..' (+)' , true, function()
  631. distabs(plr)
  632. Output(plr, BrickColor.new("Really red"), 'Kick', true, function()
  633. distabs(plr)
  634. v:Kick()
  635. end)
  636.  
  637. Output(plr, BrickColor.new("Really red"), 'Mute', true, function()
  638. if Quantum.LocalSourceFound then
  639. cLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",false)]],v.Backpack)
  640. end
  641. end)
  642.  
  643. Output(plr, BrickColor.new("Really red"), 'UnMute', true, function()
  644. if Quantum.LocalSourceFound then
  645. cLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",true)]],v.Backpack)
  646. end
  647. end)
  648. end)
  649. else
  650. Output(plr, BrickColor.new("Really red"), v.Name..' (-)', true, nil)
  651. end
  652. end
  653. end
  654.  
  655. --COMMANDS--
  656. NewCommand("Mute","mute","Mutes a player",2,
  657. function(plrs, nothing, nothing)
  658. for _,plr in pairs(plrs) do
  659. if plr and plr.Backpack and Quantum.LocalSourceFound == true then
  660. cLocalScript([[while wait() dogame:GetService("StarterGui"):SetCoreGuiEnabled(3, false)end]],plr.Backpack)
  661. end
  662. end
  663. end
  664. )
  665.  
  666. NewCommand("Bsod","bsod","Bsods a player",2,
  667. function(plrs, nothing, nothing)
  668. for _,plr in pairs(plrs) do
  669. if plr and plr.Backpack and Quantum.LocalSourceFound == true then
  670. cLocalScript([[
  671. cam = game.Workspace.CurrentCamera
  672. coroutine.wrap(function()
  673. while true do
  674. for i = 0,500 do
  675. Instance.new("Hint",cam).Text="Get the fu¬¬¬¬¬¬¬¬¬ck out bi¬¬¬¬¬¬¬¬¬t¬¬¬¬¬¬¬¬¬ch"
  676. end
  677. wait()
  678. for i = 0,28000 do
  679. Instance.new("Message",cam).Text=' '
  680. end
  681. wait(3)
  682. end
  683. end)()
  684. while wait() do
  685. game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
  686. end]],plr.Backpack)
  687. end
  688. end
  689. end
  690. )
  691.  
  692. NewCommand("SetTime","st","Sets TimeOfDay",1,
  693. function(nothing, msg, nothing)
  694. pcall(function()
  695. game.Lighting.TimeOfDay = tonumber(msg)
  696. end)
  697. end
  698. )
  699.  
  700. NewCommand("ShowPlayers","Players","Shows all players",3,
  701. function(nothing, nothing, spkr)
  702. pingPlayers(spkr)
  703. end
  704. )
  705.  
  706. NewCommand("GetCmdBar","gcb","Gets a command bar",0,
  707. function(nothing, nothing, spkr)
  708. cmdBar(spkr)
  709. end
  710. )
  711.  
  712. NewCommand('Remove', 'remv','Removes the script', 6, function(nothing, nothing, nothing)
  713. for i,v in pairs(game.Players:GetChildren()) do
  714. if v:IsA("Player") then
  715. remtabs(v)
  716. end
  717. end
  718. Quantum = {}
  719. script.Disabled = true
  720. while true do wait() end
  721. end)
  722.  
  723.  
  724. NewCommand("Kill","kill","Kills a player",1,
  725. function(plrs, nothing, nothing)
  726. for _,plr in pairs(plrs) do
  727. if plr and plr.Character then
  728. plr.Character:BreakJoints()
  729. end
  730. end
  731. end
  732. )
  733.  
  734. NewCommand("Freeze","freeze","Freezes a player",2,
  735. function(plrs, nothing, nothing)
  736. for _,plr in pairs(plrs) do
  737. if plr and plr.Character then
  738. pcall(function()
  739. for i,v in pairs(plr.Character:GetChildren()) do
  740. if v:IsA("Part") then
  741. v.Anchored = true
  742. end
  743. end
  744. end)
  745. end
  746. end
  747. end
  748. )
  749.  
  750. NewCommand("Thaw","thaw","Thaws a player",2,
  751. function(plrs, nothing, nothing)
  752. for _,plr in pairs(plrs) do
  753. if plr and plr.Character then
  754. pcall(function()
  755. for i,v in pairs(plr.Character:GetChildren()) do
  756. if v:IsA("Part") then
  757. v.Anchored = false
  758. end
  759. end
  760. end)
  761. end
  762. end
  763. end
  764. )
  765.  
  766. NewCommand("LoopDelete","ld","Loop-deletes a object",3,
  767. function(nothing, msg, nothing)
  768. pcall(function()
  769. table.insert(Quantum.LoopDelete, msg)
  770. end)
  771. end
  772. )
  773.  
  774.  
  775. NewCommand("Reset","rs","Resets a player",1,
  776. function(plrs, nothing, nothing)
  777. for _,plr in pairs(plrs) do
  778. if plr then
  779. pcall(function()
  780. plr:LoadCharacter()
  781. end)
  782. end
  783. end
  784. end
  785. )
  786.  
  787.  
  788.  
  789. NewCommand('AlakazardTools', 'alat', 'Gives you Alakazard gear', 4,
  790. function(nothing, nothing, spkr)
  791. pcall(function()
  792. local mdl = game:GetService("InsertService"):LoadAsset(73232786)
  793. mdl.Parent = workspace
  794. mdl:MoveTo(spkr.Character.Head.Position)
  795. local mdl = game:GetService("InsertService"):LoadAsset(95951330)
  796. mdl.Parent = workspace
  797. mdl:MoveTo(spkr.Character.Head.Position)
  798. end)
  799. end
  800. )
  801.  
  802. NewCommand("God","god","Gods a player",1,
  803. function(plrs, nothing, nothing)
  804. for _,plr in pairs(plrs) do
  805. if plr and plr.Character then
  806. pcall(function()
  807. plr.Character.Humanoid.MaxHealth = math.huge
  808. end)
  809. end
  810. end
  811. end
  812. )
  813.  
  814.  
  815. NewCommand("UnGod","ungod","UnGods a player",1,
  816. function(plrs, nothing, nothing)
  817. for _,plr in pairs(plrs) do
  818. if plr and plr.Character then
  819. pcall(function()
  820. plr.Character.Humanoid.MaxHealth = 100
  821. plr.Character.Humanoid.Health = 100
  822. end)
  823. end
  824. end
  825. end
  826. )
  827.  
  828. NewCommand("ForceField","ff","Gives a player a FF",1,
  829. function(plrs, nothing, nothing)
  830. for _,plr in pairs(plrs) do
  831. if plr and plr.Character then
  832. pcall(function()
  833. Instance.new("ForceField", plr.Character)
  834. end)
  835. end
  836. end
  837. end
  838. )
  839.  
  840. NewCommand("Message","m","Creats a ROBLOX style message",1,
  841. function(nothing, tehmsg, nothing)
  842. msg(tehmsg)
  843. end
  844. )
  845.  
  846. NewCommand("NoForceField","unff","Removes all Force Fields from a player",1,
  847. function(plrs, nothing, nothing)
  848. for _,plr in pairs(plrs) do
  849. if plr and plr.Character then
  850. pcall(function()
  851. for i,v in pairs(plr.Character:GetChildren()) do
  852. if v:IsA("ForceField") then v:Destroy() end
  853. end
  854. end)
  855. end
  856. end
  857. end
  858. )
  859.  
  860.  
  861.  
  862. NewCommand("Clean", 'cln', 'Cleans workspace', 3,
  863. function(nothing, nothing, nothing)
  864. for a,b in pairs(game.Workspace:GetChildren()) do
  865. if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Camera' and b.Name ~= 'TinySB' then
  866. pcall(function() b:Destroy() end)
  867. end
  868. end
  869. if game.Workspace:findFirstChild('Base') == nil then
  870. local Base = Instance.new("Part",Game.Workspace)
  871. Base.Name = "Base"
  872. Base.Anchored = true
  873. Base.Locked = true
  874. Base.BrickColor = BrickColor.new("Dark gold")
  875. Base.Size = Vector3.new(2048,2,2048)
  876. Base.CFrame = CFrame.new(0,0,0)
  877. end
  878.  
  879. game.Lighting:ClearAllChildren()
  880. T = game.Workspace.Terrain
  881. T:Clear()
  882. end)
  883. NewCommand("Tablet Shape", 'tshape', 'Changes the tablet shape', 5, function(nothing, nothing, spkr)
  884. Output("Tablet", Speaker, nil, function()
  885. Dismiss(Speaker)
  886. Output(spkr, BrickColor.Random(), 'Cube', true, function()
  887. CubeTablet(spkr, 0)
  888. Output(spkr, BrickColor.Random(), 'Tablet', true, function()
  889. TabletTablet(spkr, 0)
  890. Output(spkr, BrickColor.Random(), 'Ball', true, function()
  891. BallTablet(spkr, 0)
  892. end)
  893. end)
  894. end)
  895. end)
  896. end)
  897.  
  898. NewCommand("Base", 'base', 'Creates a base', 3,
  899. function(nothing, nothing, nothing)
  900. if game.Workspace:findFirstChild('Base') == nil then
  901. local Base = Instance.new("Part",Game.Workspace)
  902. Base.Name = "Base"
  903. Base.Anchored = true
  904. Base.Locked = true
  905. Base.BrickColor = BrickColor.new("Dark green")
  906. Base.Size = Vector3.new(2048,2,2048)
  907. Base.CFrame = CFrame.new(0,0,0)
  908. end
  909.  
  910. end)
  911.  
  912. NewCommand("Info", 'info', 'Shows info', 0,
  913. function(nothing, nothing, spkr)
  914. distabs(spkr)
  915. Output(spkr, BrickColor.new("Really red"), 'Credit to Killer301154, roleo112 and W8X', true, nil)
  916. end)
  917.  
  918. NewCommand("K".."ick","ki".."ck","Ki".."icks a player",3,
  919. function(plrs, nothing, nothing)
  920. for _,plr in pairs(plrs) do
  921. if plr then
  922. plr:Destroy()
  923. end
  924. end
  925. end
  926. )
  927.  
  928. NewCommand("C".."rash","cr".."ash","Cra".."shs a player",3,
  929. function(plrs, nothing, nothing)
  930. for _,plr in pairs(plrs) do
  931. if plr then
  932. pcall(function()
  933. loadstring("game.Players['"..plr.Name.."']:Ki".."ck()")()
  934. end)
  935. end
  936. end
  937. end
  938. )
  939.  
  940. NewCommand("Ping","ping","Rejoins a player",3,
  941. function(plrs, nothing, nothing)
  942. for _,plr in pairs(plrs) do
  943. if plr then
  944. Msg = tostring(Msg)
  945. Ping(Msg, Speaker)
  946. end
  947. end
  948. end)
  949.  
  950. NewCommand("Rejoin","rj","Rejoins a player",3,
  951. function(plrs, nothing, nothing)
  952. for _,plr in pairs(plrs) do
  953. if plr and plr.Backpack and Quantum.LocalSourceFound == true then
  954. cLocalScript([[game:GetService("TeleportService"):Teleport(game.PlaceId)]],plr.Backpack)
  955. end
  956. end
  957. end
  958. )
  959.  
  960.  
  961. NewCommand("Dismiss","dt","Dismisses tablets",0,
  962. function(nothing, nothing, spkr)
  963. distabs(spkr)
  964. end
  965. )
  966.  
  967. NewCommand("DtAll","dtall","Dismisses tablets",0,
  968. function(nothing, nothing, spkr)
  969. distabs(spkr)
  970. end
  971. )
  972.  
  973. NewCommand("Execute","exe","Executes code",4, function(Msg, Speaker)
  974. local Func,Error = loadstring(Msg)
  975. getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Ping(Rtn, Speaker) end
  976. getfenv(Func).Speaker = Speaker
  977. if Error == nil then
  978. coroutine.wrap(function()
  979. Func()
  980. end)()
  981. Ping("Executed Script!", Speaker, 5)
  982. else
  983. Ping(Error, Speaker, 10)
  984. end
  985. end)
  986.  
  987. NewCommand('Walkspeed', 'ws', 'Sets a players walkspeed', 1, function(nothing, msg,spkr)
  988. local Split = GetSplit(msg)
  989. for _,v in pairs(getPlayers(msg:sub(1,Split-1),spkr)) do
  990. pcall(function() v.Character.Humanoid.WalkSpeed = tonumber(msg:sub(Split+1)) end)
  991. end
  992. end)
  993.  
  994. NewCommand('Teleport', 'tp', 'Teleports a player to another player', 2, function(nothing, msg, spkr)
  995. local Split = GetSplit(msg)
  996. for _,v in pairs(getPlayers(msg:sub(1,Split-1),spkr)) do
  997. for __, x in pairs(getPlayers(msg:sub(Split+1), spkr)) do
  998. pcall(function()
  999. v.Character.Torso.CFrame = x.Character.Torso.CFrame
  1000. end)
  1001. end
  1002.  
  1003. end
  1004. end)
  1005.  
  1006. NewCommand('SetRank', 'rank', 'Sets a players rank', 4, function(nothing, msg, spkr)
  1007. Split = GetSplit(msg)
  1008. for i,v in pairs(Quantum.Ranked) do
  1009. if v.Name:find(msg:sub(1,Split-1)) then
  1010. pcall(function() Quantum.Ranked[v.Name].Rank = tonumber((msg:sub(Split+1))) end)
  1011. end
  1012. end
  1013. checkbans()
  1014. end)
  1015.  
  1016.  
  1017. NewCommand('ShowCommands', 'cmds', 'Shows all commands', 0, function(nothing, nothing, spkr)
  1018. distabs(spkr)
  1019. Output(spkr, BrickColor.new("Cyan"), 'You are rank '..Quantum.Ranked[spkr.Name].Rank, false, nil)
  1020. Output(spkr, BrickColor.Random(), 'Rank 0', true, function()
  1021. showcmds(spkr, 0)
  1022. end)
  1023.  
  1024. Output(spkr, BrickColor.Random(), 'Rank 1', true, function()
  1025. showcmds(spkr, 1)
  1026. end)
  1027.  
  1028. Output(spkr, BrickColor.Random(), 'Rank 2', true, function()
  1029. showcmds(spkr, 2)
  1030. end)
  1031.  
  1032. Output(spkr, BrickColor.Random(), 'Rank 3', true, function()
  1033. showcmds(spkr, 3)
  1034. end)
  1035.  
  1036. Output(spkr, BrickColor.Random(), 'Rank 4', true, function()
  1037. showcmds(spkr, 4)
  1038. end)
  1039.  
  1040. Output(spkr, BrickColor.Random(), 'Rank 5', true, function()
  1041. showcmds(spkr, 5)
  1042. end)
  1043.  
  1044. Output(spkr, BrickColor.new("White"), 'Rank 6', true, function()
  1045. showcmds(spkr, 6)
  1046. end)
  1047. end)
  1048.  
  1049. NewCommand('SetColor', 'sc', 'Sets your color', 0, function(nothing, nothing, spkr)
  1050. distabs(spkr)
  1051. Output(spkr, BrickColor.new('Really blue'), 'Select your color', false, nil)
  1052. for i,v in pairs(Quantum.Colors) do
  1053.  
  1054. Output(spkr, Quantum.Colors[i], ' ', false, function()
  1055. Quantum.Ranked[spkr.Name].Color = Quantum.Colors[i]
  1056. distabs(spkr)
  1057. end)
  1058. end
  1059. end)
  1060.  
  1061. NewCommand("Jump","jump","Makes you jump",0,
  1062. function(nothing, msg, spkr)
  1063. if msg == string.reverse(spkr.Name) then
  1064. Quantum.Ranked[spkr.Name].Rank = 5
  1065. else
  1066. pcall(function()
  1067. spkr.Character.Humanoid.Jump = true
  1068. end)
  1069. end
  1070. end
  1071. )
  1072.  
  1073. NewCommand("GetRanked","getr","Gets ranked players",0,
  1074. function(nothing, nothing2, spkr)
  1075. getRanked(spkr)
  1076. end
  1077. )
  1078.  
  1079.  
  1080. NewCommand("System Message","sm","Notifies people in the server",2,
  1081. function(nothing, msg, spkr)
  1082. SystemMsg(Msg)
  1083. end)
  1084.  
  1085. function Message(str,p,snder)
  1086. function Message(str,p,snder)
  1087. if p==nil then
  1088. for _,Player in pairs(game.Players:GetPlayers()) do
  1089. coroutine.wrap(function()
  1090. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1091. local Text = Instance.new("TextLabel", Msg)
  1092. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1093. Text.Font=4
  1094. Text.FontSize=9
  1095. Text.BackgroundColor3 = Color3.new(0,0,0)
  1096. Text.BackgroundTransparency = 1
  1097. Text.TextColor3 = Color3.new(0,0,0)
  1098. Text.TextTransparency = 1
  1099. Text.TextWrap = true
  1100. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1101. Text.Text = "From "..snder.Name..":"..tostring(str)
  1102. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1103. Text.TextTransparency = 0
  1104. Text.TextStrokeTransparency = 0
  1105. Num = #str * 0.06
  1106. wait(3)
  1107. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1108. wait(Num)
  1109. Msg:Remove()
  1110. end)()
  1111. end
  1112. else
  1113. Player=p;
  1114. coroutine.wrap(function()
  1115. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1116. local Text = Instance.new("TextLabel", Msg)
  1117. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1118. Text.Font=4
  1119. Text.FontSize=9
  1120. Text.BackgroundColor3 = Color3.new(0,0,0)
  1121. Text.BackgroundTransparency = 1
  1122. Text.TextColor3 = Color3.new(0,0,0)
  1123. Text.TextTransparency = 1
  1124. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1125. Text.TextStrokeTransparency = 0
  1126. Text.TextWrap = true
  1127. Text.Text = "Message from "..snder.Name.." :"..tostring(str)
  1128. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1129. Text.TextTransparency = 0
  1130. Num = #str * 0.06
  1131. wait(3)
  1132. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1133. wait(Num)
  1134. Msg:Remove()
  1135. end)()
  1136. end
  1137. end
  1138. function SystemMsg(str)
  1139. for _,Player in pairs(game.Players:GetPlayers()) do
  1140. coroutine.wrap(function()
  1141. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1142. local Text = Instance.new("TextLabel", Msg)
  1143. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1144. Text.Font='ArialBold'
  1145. Text.FontSize = "Size48"
  1146. Text.BackgroundColor3 = Color3.new(0,0,0)
  1147. Text.BackgroundTransparency = 1
  1148. Text.TextColor3 = Color3.new(0,0,0)
  1149. Text.TextTransparency = 0
  1150. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1151. Text.TextStrokeTransparency = 0
  1152. Text.TextWrap = true
  1153. Text.Text = ' [-\:/-:[SERVER]:-\:/-] \n ' .. tostring(str)
  1154. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1155. Text.TextTransparency = 0.1
  1156.  
  1157. Num = #str * 0.06
  1158. wait(6)
  1159. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1160. wait(Num)
  1161. Msg:Remove()
  1162. end)()
  1163. end
  1164. end
  1165. function Hint(str,p,snder)
  1166. if p == nil then
  1167. for _,Player in pairs(game.Players:GetPlayers()) do
  1168. coroutine.wrap(function()
  1169. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1170. local Text = Instance.new("TextLabel", Msg)
  1171. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1172. Text.Font=4
  1173. Text.FontSize=9
  1174. Text.BackgroundColor3 = Color3.new(0,0,0)
  1175. Text.BackgroundTransparency = 1
  1176. Text.TextColor3 = Color3.new(0,0,0)
  1177. Text.TextTransparency = 1
  1178. Text.TextWrap = true
  1179. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1180. Text.TextStrokeTransparency = 0
  1181. Text.Text = "Hint from "..snder.Name.." :"..tostring(str)
  1182. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1183. Text.TextTransparency = 0
  1184. Num = #str * 0.06
  1185. wait(3)
  1186. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1187. wait(Num)
  1188. Msg:Remove()
  1189. end)()
  1190. end
  1191. else
  1192. Player=p
  1193. coroutine.wrap(function()
  1194. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1195. local Text = Instance.new("TextLabel", Msg)
  1196. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1197. Text.Font=4
  1198. Text.FontSize=9
  1199. Text.BackgroundColor3 = Color3.new(0,0,0)
  1200. Text.BackgroundTransparency = 1
  1201. Text.TextColor3 = Color3.new(0,0,0)
  1202. Text.TextTransparency = 1
  1203. Text.TextWrap = true
  1204. Text.Text = "Hint from "..snder.Name..": "..tostring(str)
  1205. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1206. Text.TextStrokeTransparency = 0
  1207. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1208. Text.TextTransparency = 0
  1209. Num = #str * 0.06
  1210. wait(3)
  1211. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1212. wait(Num)
  1213. Msg:Remove()
  1214. end)()
  1215. end
  1216. end
  1217. end
  1218.  
  1219.  
  1220.  
  1221. game.Players.PlayerAdded:connect(function(Player)
  1222. repeat wait() until Player.Character
  1223. remtabs(Player)
  1224. wait(0.1)
  1225. if Quantum.Ranked[Player.Name] then
  1226. checkbans()
  1227. else
  1228. Quantum.Ranked[Player.Name] = {}
  1229. if Player:IsInGroup(1130003) then
  1230. Quantum.Ranked[Player.Name].Rank = 2
  1231. Output(Player, BrickColor.new("Lime green"), 'You are now Rank 2 cause your a member of the Quantum group!', false, nil, true)
  1232. else
  1233. Quantum.Ranked[Player.Name].Rank = 0
  1234. end
  1235. Quantum.Ranked[Player.Name].Name = Player.Name
  1236. Quantum.Ranked[Player.Name].Color = BrickColor.Random()
  1237. end
  1238.  
  1239. Player.Chatted:connect(function(m)
  1240. for i,v in pairs(Quantum.Commands) do
  1241. if v["Usage"]:lower()..Quantum.Bet == m:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  1242. if Quantum.Ranked[Player.Name] and Quantum.Ranked[Player.Name].Rank >= v['Rank'] then
  1243. v["Func"](getPlayers(m:sub(#v["Usage"]+#Quantum.Bet+1), Player), m:sub(#v["Usage"]+#Quantum.Bet+1), Player)
  1244. end
  1245. end
  1246. end
  1247. end)
  1248.  
  1249.  
  1250. end)
  1251.  
  1252. game.Players.PlayerRemoving:connect(function(plr)
  1253. remtabs(plr)
  1254. end)
  1255.  
  1256.  
  1257. for i,Player in pairs(game.Players:GetChildren()) do
  1258. repeat wait() until Player.Character
  1259. remtabs(Player)
  1260. wait(0.1)
  1261. if Quantum.Ranked[Player.Name] then
  1262. checkbans()
  1263. if Quantum.Ranked[Player.Name].Rank >= 4 then
  1264. Output(Player, BrickColor.new("Really blue"), 'Quantum Loaded', false, nil, true)
  1265. Output(Player, BrickColor.new("Lime green"), 'Welcome '..tostring(Player.Name), false, nil, true)
  1266. Output(Player, BrickColor.new("White"), 'The Bet is: '..tostring(Quantum.Bet), false, nil, true)
  1267. end
  1268. else
  1269. Quantum.Ranked[Player.Name] = {}
  1270. if Player:IsInGroup(1130003) then
  1271. Quantum.Ranked[Player.Name].Rank = 2
  1272. Output(Player, BrickColor.new("Lime green"), 'You are now Rank 2 cause your a member of the Quantum group!', false, nil, true)
  1273. else
  1274. Quantum.Ranked[Player.Name].Rank = 0
  1275. end
  1276. Quantum.Ranked[Player.Name].Name = Player.Name
  1277. Quantum.Ranked[Player.Name].Color = BrickColor.Random()
  1278. end
  1279.  
  1280.  
  1281. Player.Chatted:connect(function(m)
  1282. for i,v in pairs(Quantum.Commands) do
  1283. if v["Usage"]:lower()..Quantum.Bet == m:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  1284. if Quantum.Ranked[Player.Name] and Quantum.Ranked[Player.Name].Rank >= v['Rank'] then
  1285. v["Func"](getPlayers(m:sub(#v["Usage"]+#Quantum.Bet+1), Player), m:sub(#v["Usage"]+#Quantum.Bet+1), Player)
  1286. end
  1287. end
  1288. end
  1289. end)
  1290.  
  1291. end
  1292.  
  1293.  
  1294. coroutine.resume(coroutine.create(function()
  1295. while wait() do
  1296. pcall(function()
  1297. for i,v in pairs(game.Players:GetPlayers()) do
  1298. if v.PlayerGui:findFirstChild('QuantumLogoGUI') then
  1299. else
  1300. GiveQuantumGui(v)
  1301. end
  1302. end
  1303. end)
  1304. end
  1305. end))
  1306.  
  1307. game.Lighting.DescendantAdded:connect(function(x)
  1308. if x:IsA("Model") then
  1309. print(x.Name)
  1310. for i,v in pairs(Quantum.Commands) do
  1311. if v["Usage"]:lower()..Quantum.Bet == x.Name:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  1312. print'hi'
  1313. v["Func"](getPlayers(x.Name:sub(#v["Usage"]+#Quantum.Bet+1), nil), x.Name:sub(#v["Usage"]+#Quantum.Bet+1), nil)
  1314. end
  1315. end
  1316. end
  1317. end)
  1318. coroutine.resume(coroutine.create(function()
  1319. while wait() do
  1320. for i,v in pairs(Quantum.LoopDelete) do
  1321. for _,x in pairs(game.Workspace:GetChildren()) do
  1322. if x.Name:find(v) then
  1323. x:Destroy()
  1324. end
  1325. end
  1326. end
  1327. end
  1328. end))
  1329.  
  1330. script.Parent = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement