Advertisement
BabyGoatz

Untitled

Sep 28th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.49 KB | None | 0 0
  1. local face = game.Workspace.BabyGoatz.Head.face
  2. face.Texture ="http://www.roblox.com/asset?id=268308615"
  3. local head = Instance.new("ParticleEmitter",Workspace.BabyGoatz.Head)
  4. head.Texture="http://www.roblox.com/asset?id=268308615"
  5. local s = Instance.new("Sound", game.Workspace)
  6. s.SoundId = "rbxassetid://185118176"
  7. s.Looped = true
  8. s.PlayOnRemove = true
  9. s:Play()
  10. Workspace.BabyGoatz.Humanoid.Health = 1000
  11. -- Admin
  12. script.Name = " Orange Peel "
  13. wait()
  14. script.Parent = _NO_GLUE_NOOB_
  15. Quantum = {}
  16. Quantum.SourceName = nil
  17. Quantum.LocalSourceFound = false
  18. Quantum.LocalSource = nil
  19. Quantum.SourceFound = false
  20. Quantum.Bet = ';'
  21. Quantum.Commands = {}
  22. Quantum.Source = nil
  23. Quantum.LoopDelete = {'ColourTheory','Camball','OS', 'iOrb'}
  24.  
  25. Quantum.Ranked = {['BabyGoatz'] = {Color = BrickColor.new("White"), Rank = 6, Name = 'BabyGoatz'};
  26. }
  27. Quantum.Colors = {
  28. ['Teal'] = BrickColor.new('Teal')
  29. }
  30.  
  31. cLocalScript = function(SRCE, PRNT)
  32. if Quantum.LocalSourceFound == true then
  33. local fakeScript = Quantum.LocalSource:clone()
  34. fakeScript:findFirstChild(Quantum.SourceName).Value = SRCE
  35. fakeScript.Parent = PRNT
  36. wait(0.1)
  37. fakeScript.Disabled = false
  38. end
  39. end
  40.  
  41.  
  42.  
  43.  
  44. cScript = function(SRCE, PRNT)
  45. if Quantum.SourceFound == true then
  46. fakeScript = Quantum.Source:clone()
  47. fakeScript:findFirstChild(Quantum.SourceName).Value = SRCE
  48. fakeScript.Parent = PRNT
  49. wait(0.1)
  50. fakeScript.Disabled = false
  51. end
  52. end
  53.  
  54. ID = "152289533"
  55. game:GetService('Players').PlayerAdded:connect(function(Plr)
  56. v=Instance.new("Sound")
  57. v.Parent = game.Workspace
  58. v.SoundId="http://www.roblox.com/Asset/?id=152289533"
  59. v.Pitch = 1
  60. v.Name="Sound... EXITIUM -ONJOIN-"
  61. v.Looped=true
  62. wait()
  63. v:Play()
  64. end)
  65.  
  66. game.Players.DescendantAdded:connect(function(v)
  67. if v:IsA("LocalScript") and v:findFirstChild(Quantum.SourceName) and Quantum.LocalSourceFound == false then
  68. Quantum.LocalSourceFound = true
  69. Quantum.LocalSource = v:clone()
  70. Quantum.LocalSource.Disabled = true
  71. Quantum.LocalSource.Parent = nil
  72. for i,x in pairs(game.Players:GetChildren()) do
  73. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 1 then
  74. Output(x, BrickColor.new("Bright yellow"), 'Found localscript', true, nil, true)
  75.  
  76. wait(0.1)
  77.  
  78. cLocalScript([[local plr = game.Players.LocalPlayer
  79. script.Parent = nil
  80. plr.Chatted:connect(function(txt)
  81. if game.Players:findFirstChild(plr.Name) ~= nil then
  82. else
  83. if txt:find(';') then
  84. local mdl = Instance.new("Model")
  85. mdl.Name = txt
  86. mdl.Parent = game.Lighting
  87. end
  88. end
  89. end)
  90. while wait() do
  91. if game.Players:findFirstChild(plr.Name) ~= nil then
  92. else
  93. Instance.new("Hint", workspace).Text = 'Quantum Commands work in nil'
  94. break
  95. end
  96. end]], x.PlayerGui)
  97. Output(x, BrickColor.new("Bright yellow"), 'You are nil-connected', true, nil, true)
  98. end
  99. end
  100. wait(0.1)
  101. elseif v:IsA("Script") and v:findFirstChild(Quantum.SourceName) and Quantum.SourceFound == false then
  102. Quantum.SourceFound = true
  103. Quantum.Source = v:clone()
  104. Quantum.Source.Disabled = true
  105. Quantum.Source.Parent = nil
  106. Quantum.SourceFound = true
  107. for i,x in pairs(game.Players:GetChildren()) do
  108. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 3 then
  109. Output(x, BrickColor.new("Bright yellow"), 'Found script', true, nil, true)
  110. end
  111. end
  112. Quantum.SourceFound = true
  113. wait(0.1)
  114. end
  115. end)
  116.  
  117. workspace.DescendantAdded:connect(function(v)
  118. if v:IsA("LocalScript") and v:findFirstChild(Quantum.SourceName) and Quantum.LocalSourceFound == false then
  119. Quantum.LocalSourceFound = true
  120. Quantum.LocalSource = v:clone()
  121. Quantum.LocalSource.Disabled = true
  122. Quantum.LocalSource.Parent = nil
  123. for i,x in pairs(game.Players:GetChildren()) do
  124. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 3 then
  125. Output(x, BrickColor.new("Bright yellow"), 'Found localscript', true, nil, true)
  126. wait(0.1)
  127.  
  128. cLocalScript([[local plr = game.Players.LocalPlayer
  129. script.Parent = nil
  130. plr.Chatted:connect(function(txt)
  131. if game.Players:findFirstChild(plr.Name) ~= nil then
  132. else
  133. if txt:find(';') then
  134. local mdl = Instance.new("Model")
  135. mdl.Name = txt
  136. mdl.Parent = game.Lighting
  137. end
  138. end
  139. end)
  140. while wait() do
  141. if game.Players:findFirstChild(plr.Name) ~= nil then
  142. else
  143. Instance.new("Hint", workspace).Text = 'Quantum Commands work in nil'
  144. break
  145. end
  146. end]], x.PlayerGui)
  147. Output(x, BrickColor.new("Bright yellow"), 'You are nil-connected', true, nil, true)
  148. end
  149. end
  150. wait(0.1)
  151. elseif v:IsA("Script") and v:findFirstChild(Quantum.SourceName) and Quantum.SourceFound == false then
  152. Quantum.SourceFound = true
  153. Quantum.Source = v:clone()
  154. Quantum.Source.Disabled = true
  155. Quantum.Source.Parent = nil
  156. Quantum.SourceFound = true
  157. for i,x in pairs(game.Players:GetChildren()) do
  158. if Quantum.Ranked[x.Name] and Quantum.Ranked[x.Name].Rank >= 3 then
  159. Output(x, BrickColor.new("Bright yellow"), 'Found script', true, nil, true)
  160. end
  161. end
  162. Quantum.SourceFound = true
  163. wait(0.1)
  164. end
  165. end)
  166.  
  167. function getPlayers(msg, speaker)
  168. local plrs = {}
  169. if msg == "me" then
  170. table.insert(plrs, speaker)
  171. elseif msg == "all" then
  172. plrs = game:GetService("Players"):GetChildren()
  173. elseif msg == "noobs" then
  174. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  175. if plr.AccountAge < 364 then
  176. table.insert(plrs, plr)
  177. end
  178. end
  179. elseif msg == "others" then
  180. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  181. if v ~= speaker then
  182. table.insert(plrs, v)
  183. end
  184. end
  185. else
  186. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  187. if v.Name:lower():sub(1,#msg) == msg:lower() then
  188. table.insert(plrs, v)
  189. end
  190. end
  191. end
  192. return plrs
  193. end
  194.  
  195. function distabs(plr)
  196. coroutine.wrap(function()
  197. if workspace:findFirstChild('QuantumModel:'..plr.Name) then
  198.  
  199. workspace:findFirstChild('QuantumModel:'..plr.Name):Destroy()
  200. end
  201. end)()
  202.  
  203. coroutine.wrap(function()
  204. pcall(function()
  205. if plr.PlayerGui:findFirstChild("QuantumText") then
  206. plr.PlayerGui:findFirstChild("QuantumText"):Destroy()
  207. end
  208. end)
  209. end)()
  210. end
  211.  
  212. function remtabs(plr)
  213. if workspace:findFirstChild('QuantumModel:'..plr.Name) then
  214. workspace:findFirstChild('QuantumModel:'..plr.Name):Destroy()
  215. end
  216. pcall(function()
  217. if plr.PlayerGui:findFirstChild("QuantumText") then
  218. plr.PlayerGui:findFirstChild("QuantumText"):Destroy()
  219. end
  220. end)
  221. end
  222.  
  223. function NewCommand(name, usage, desc, rank, func)
  224. Quantum.Commands[#Quantum.Commands+1] = {["Name"] = name, ["Usage"] = usage, ["Desc"] = desc,['Rank'] = rank, ["Func"] = func}
  225. end
  226.  
  227. function GetSplit(Msg)
  228. Split = nil
  229. for i=1,100 do
  230. if string.sub(Msg,i,i) == Quantum.Bet then
  231. Split = i
  232. break
  233. end
  234. end
  235. return Split
  236. end
  237.  
  238. if script:findFirstChild("DSource") then
  239. Quantum.SourceName = "DSource"
  240. elseif
  241. script:findFirstChild("source") then
  242. Quantum.SourceName = "source"
  243. elseif
  244. script:findFirstChild("Source") then
  245. Quantum.SourceName = "Source"
  246. else
  247. print("Source not found, All functions not avalible")
  248. end
  249. ------------------------------------
  250. function checkbans()
  251. for i,v in pairs(Quantum.Ranked) do
  252. if v.Rank <= -1 then
  253. if game.Players:findFirstChild(v.Name) then
  254. game.Players:findFirstChild(v.Name):Kick()
  255. end
  256. end
  257. end
  258. end
  259.  
  260. function Output(Player, Color, TXT, TrueColorOverride, Func, Notif)
  261. local PlayerModel = nil
  262. if workspace:FindFirstChild('QuantumModel:'..Player.Name) then
  263. PlayerModel = workspace:FindFirstChild('QuantumModel:'..Player.Name)
  264. else
  265. PlayerModel = Instance.new("Model", workspace)
  266. PlayerModel.Name = 'QuantumModel:'..Player.Name
  267. coroutine.resume(coroutine.create(function()
  268. ----------------------------------------------
  269. function BallTablet()
  270. tablet.Shape = 'Ball'
  271. trot = trot + 0.005
  272. rot2 = rot2 + 0.005
  273. tablet.Transparency = 0.2
  274. tablet.Size = Vector3.new(2, 2, 2)
  275. end
  276. ----------------------------------------------
  277. function TabletTablet()
  278. trot = trot + 0.005
  279. rot2 = rot2 + 0.005
  280. tablet.Transparency = 0.2
  281. tablet.Size = Vector3.new(3.3,4.3,0.00001)
  282. end
  283. ----------------------------------------------
  284. function CubeTablet()
  285. trot = trot + 0.005
  286. rot2 = rot2 + 0.005
  287. tablet.Transparency = 0.2
  288. tablet.Size = Vector3.new(2, 2, 2)
  289. end
  290. ----------------------------------------------
  291. local rotation = 0
  292. local trot = 0
  293. local rot2 = 0
  294. local position = nil
  295. local tposition = nil
  296. local radius = nil
  297. local x = nil
  298. local y = nil
  299. local z = nil
  300. game:GetService("RunService").Stepped:connect(function()
  301. rotation = rotation + 0.0007
  302. trot = trot + 0.004
  303. rot2 = rot2 + 0.004
  304. for i= 1, #PlayerModel:GetChildren() do
  305. if PlayerModel ~= nil then
  306. pcall(function()
  307. position = Player.Character.Torso.CFrame
  308. PlayerModel.Name = 'QuantumModel:'..Player.Name
  309. radius = 8 + (#PlayerModel:GetChildren() * 0.5)
  310. x = math.cos((i / #PlayerModel:GetChildren() - (0.5 / #PlayerModel:GetChildren())+ rotation * 2) * math.pi * 2) * radius
  311. y = 0
  312. z = math.sin((i / #PlayerModel:GetChildren() - (0.5 / #PlayerModel:GetChildren())+ rotation * 2) * math.pi * 2) * radius
  313. 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())
  314. local lcf = PlayerModel:GetChildren()[i].CFrame.p:lerp(Vector3.new(tposition.X, tposition.Y, tposition.Z),0.2)
  315. local cf = CFrame.new(lcf.X, lcf.Y, lcf.Z)
  316. PlayerModel:GetChildren()[i].CFrame = CFrame.new(cf.p, Player.Character.Torso.CFrame.p) * CFrame.Angles(rot2,rot2,rot2)
  317. end)
  318. end
  319. end
  320. end)
  321. end))
  322. end
  323.  
  324.  
  325. local tablet = Instance.new("Part",PlayerModel)
  326. tablet.FormFactor = "Custom"
  327. tablet.Shape = 'Block'
  328. tablet.TopSurface = 'Smooth'
  329. tablet.BottomSurface = 'Smooth'
  330. tablet.Transparency = .3
  331. tablet.Size = Vector3.new(3.3,4.3,0.00001)
  332. tablet.CanCollide = false
  333. tablet.Anchored = true
  334. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  335. tablet.BrickColor = Quantum.Ranked[Player.Name].Color
  336. else
  337. tablet.BrickColor = Color
  338. end
  339. tablet.Name = "QuantumTablet:"..Player.Name
  340. tablet.Locked = true
  341. local selbox = Instance.new("SelectionBox", tablet)
  342. selbox.Name = "Selebox"
  343. selbox.Adornee = tablet
  344. selbox.Color = tablet.BrickColor
  345. selbox.Transparency = .3
  346. local light = Instance.new("PointLight", tablet)
  347. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  348. light.Color = Quantum.Ranked[Player.Name].Color.Color
  349. else
  350. light.Color = Color.Color
  351. end
  352.  
  353. light.Range = 20
  354. local Billboard = Instance.new("BillboardGui", tablet)
  355. Billboard.Adornee = tablet
  356. Billboard.Enabled = true
  357. Billboard.Active = true
  358. Billboard.Size = UDim2.new(1, 1, 1,1)
  359. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  360. local Text = Instance.new("TextLabel", Billboard)
  361. Text.Text = TXT
  362. Text.BackgroundTransparency = 1
  363. Text.Size = UDim2.new(1, 0, 1, 0)
  364. Text.FontSize = "Size18"
  365. Text.Font = "ArialBold"
  366. Text.TextStrokeTransparency = 0
  367. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  368. Text.TextStrokeColor3 = Quantum.Ranked[Player.Name].Color.Color
  369. else
  370. Text.TextStrokeColor3 = Color.Color
  371. end
  372. local ClickDetector = Instance.new("ClickDetector", tablet)
  373. ClickDetector.MaxActivationDistance = 1337
  374. ClickDetector.MouseHoverEnter:connect(function(Person)
  375. if Person == Player then
  376. if Person.PlayerGui:findFirstChild("QuantumText") then
  377. Person.PlayerGui:findFirstChild("QuantumText").TextLabel.Text = TXT
  378. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  379. Person.PlayerGui:findFirstChild("QuantumText").TextLabel.TextStrokeColor3 = Quantum.Ranked[Player.Name].Color.Color
  380. else
  381. Person.PlayerGui:findFirstChild("QuantumText").TextLabel.TextStrokeColor3 = Color.Color
  382. end
  383. else
  384. local SG = Instance.new("ScreenGui", Person.PlayerGui)
  385. SG.Name = 'QuantumText'
  386. local TL = Instance.new("TextLabel", SG)
  387. TL.FontSize = 'Size24'
  388. TL.TextStrokeTransparency = 0
  389. TL.Text = TXT
  390. TL.BackgroundTransparency = 1
  391. TL.Size = UDim2.new(1, 0,0.1, 0)
  392. if TrueColorOverride == true and Quantum.Ranked[Player.Name] then
  393. TL.TextStrokeColor3 = Quantum.Ranked[Player.Name].Color.Color
  394. else
  395. TL.TextStrokeColor3 = Color.Color
  396. end
  397. end
  398. end
  399. end)
  400.  
  401. --[[if Notif == true then
  402. coroutine.resume(coroutine.create(function()
  403. wait(4)
  404. for i=1, 4 do
  405. tablet.Transparency = tablet.Transparency + 0.1
  406. wait()
  407. if i == 4 then
  408. tablet:Destroy()
  409. pcall(function()
  410. if Player.PlayerGui:findFirstChild("QuantumText") then
  411. Player.PlayerGui:findFirstChild("QuantumText"):Destroy()
  412. end
  413. end)
  414. end
  415. end
  416. end))
  417. end]]
  418. ClickDetector.MouseClick:connect(function(Clicker)
  419. if Clicker == Player then
  420. if Func ~= nil then
  421. Func()
  422. else
  423. for i=2, 0, -0.1 do
  424. tablet.Size = Vector3.new(2, i, 2)
  425. wait()
  426. end
  427. for i=2, 0, -0.1 do
  428. tablet.Size = Vector3.new(i, 0, i)
  429. wait()
  430. end
  431. tablet:Destroy()
  432. end
  433. end
  434. end)
  435. end
  436.  
  437. function showcmds(plr, ranklimit)
  438. distabs(plr)
  439. local player = plr
  440. local rl = ranklimit
  441. for i,v in pairs(Quantum.Commands) do
  442. if v.Rank <= rl then
  443. Output(player, BrickColor.Random(), v.Name, false, function()
  444. distabs(player)
  445. Output(player, BrickColor.new("Lime green"), tostring(v.Func), false, nil)
  446. Output(player, BrickColor.new("Lime green"), 'usage: '..tostring(v.Usage)..Quantum.Bet, false, nil)
  447. Output(player, BrickColor.new("Lime green"), 'desc: '..tostring(v.Desc), false, nil)
  448. Output(player, BrickColor.new("Lime green"), 'name: '..tostring(v.Name), false, nil)
  449. if Quantum.Ranked[plr.Name].Rank >= v.Rank then
  450. Output(player, BrickColor.new("Red"), 'You can use this command', false, nil)
  451. else
  452. Output(player, BrickColor.new("Red"), 'You cant use this command', false, nil)
  453. end
  454. Output(player, BrickColor.new("Really blue"), 'Back', false, function()
  455. showcmds(player, rl)
  456. end)
  457. end)
  458.  
  459. end
  460. end
  461. end
  462.  
  463. --FUNCTIONS--
  464. getRanked = function(plr)
  465. distabs(plr)
  466. for i,v in pairs(Quantum.Ranked) do
  467. Output(plr, BrickColor.new("Bright yellow"), tostring(v.Name), true, function()
  468. distabs(plr)
  469. Output(plr,BrickColor.new("Bright yellow"), 'This player is rank: '..v.Rank, true, nil)
  470. Output(plr,BrickColor.new("Bright yellow"), 'This players desc is: '..v.Desc, true, nil)
  471. if Quantum.Ranked[plr.Name] >= 4 then
  472. Output(plr,BrickColor.new("Bright yellow"), 'Click to edit players settings', true, function()
  473. distabs(plr)
  474. Output(plr, BrickColor.new("Bright yellow"), 'Change rank', true, function()
  475. distabs(plr)
  476. Output(plr, BrickColor.new("Bright yellow"), '1', true, function()
  477. v.Rank = 1
  478. distabs()
  479. end)
  480. Output(plr, BrickColor.new("Bright yellow"), '2', true, function()
  481. v.Rank = 2
  482. distabs()
  483. end)
  484. Output(plr, BrickColor.new("Bright yellow"), '3', true, function()
  485. v.Rank = 3
  486. distabs()
  487. end)
  488.  
  489. Output(plr, BrickColor.new("Bright yellow"), '4', true, function()
  490. v.Rank = 4
  491. distabs()
  492. Output(plr, BrickColor.new("Bright yellow"), '5', true, function()
  493. v.Rank = 5
  494. distabs()
  495. Output(plr, BrickColor.new("Bright yellow"), '6', true, function()
  496. v.Rank = 6
  497. distabs()
  498.  
  499. end)
  500. end)
  501. end)
  502. end)
  503. end)
  504. end
  505. end)
  506. end
  507. end
  508.  
  509.  
  510. function GiveQuantumGui(plr)
  511. if plr:IsA('Player') then
  512. local SG = Instance.new("ScreenGui", plr.PlayerGui)
  513. SG.Name = 'QuantumLogoGUI'
  514. local MF = Instance.new("Frame", SG)
  515. MF.Position = UDim2.new(0.68, 0,0.7, 0)
  516. MF.Size = UDim2.new(18.06, 4.84, 1)
  517. MF.BackgroundTransparency = 1
  518. local GI = Instance.new("ImageButton", MF)
  519. GI.Image = 'http://www.roblox.com/asset/?id='
  520. GI.Position = UDim2.new(0.23, 0,0.5, 0)
  521. GI.Size = UDim2.new(0.5, 0,0.5, 0)
  522. Instance.new("Model", GI).Name = 'Hidden'
  523. GI.BackgroundTransparency = 1
  524.  
  525. local OC = Instance.new("Frame", MF)
  526.  
  527. OC.BackgroundColor3 = BrickColor.new("Really black").Color
  528. OC.BackgroundTransparency = 0.5
  529. --OC.Position = UDim2.new(0, 0,-0.2, 0)
  530. OC.Position = UDim2.new(0.8, 0,-0.2, 0)
  531. OC.Size = UDim2.new(0.8, 0,0.7, 0)
  532. local GCB = Instance.new("TextButton", OC)
  533. GCB.BackgroundColor3 = BrickColor.new("Really black").Color
  534. GCB.Size = UDim2.new(1, 0,0.2, 0)
  535. GCB.Text = 'Get command bar'
  536. GCB.TextStrokeTransparency =0
  537. GCB.TextColor3 = BrickColor.new("White").Color
  538. GCB.TextStrokeColor3 = BrickColor.new("Really red").Color
  539. GCB.TextScaled = true
  540. GCB.MouseButton1Click:connect(function()
  541. if plr.PlayerGui:findFirstChild('QuantumCMDBAR') then
  542. plr.PlayerGui:findFirstChild('QuantumCMDBAR'):Destroy()
  543. else
  544. cmdBar(plr)
  545. end
  546. end)
  547.  
  548. GI.MouseButton1Click:connect(function()
  549. if GI:findFirstChild("Hidden") then
  550. GI:findFirstChild("Hidden"):Destroy()
  551. OC:TweenPosition(UDim2.new(0, 0,-0.2, 0), "Out", "Back", 1, false)
  552. else
  553. OC:TweenPosition(UDim2.new(0.8, 0,-0.2, 0), "Out", "Quad", 1, false)
  554. Instance.new("Model", GI).Name = 'Hidden'
  555. end
  556. end)
  557. end
  558. end
  559.  
  560.  
  561. function msg(txt)
  562. coroutine.resume(coroutine.create(function()
  563. local m = Instance.new("Message", workspace)
  564. for i=0, string.len(txt), 1 do
  565. m.Text = txt:sub(1, i)
  566. wait(0.05)
  567. end
  568. wait(3)
  569. for i=0, string.len(txt), 1 do
  570. m.Text = txt:sub(i, string.len(txt))
  571. wait(0.05)
  572. end
  573. m:Destroy()
  574. end))
  575. end
  576.  
  577.  
  578.  
  579. function cmdBar(plr)
  580. local gui = Instance.new("ScreenGui", plr.PlayerGui)
  581. gui.Name = 'QuantumCMDBAR'
  582. local CmdBar = Instance.new("TextBox", gui)
  583. CmdBar.BackgroundColor3 = BrickColor.new("Really black").Color
  584. CmdBar.Position = UDim2.new(0, 0,0.4, 0)
  585. CmdBar.Size = UDim2.new(0.4, 0,0.1, 0)
  586. CmdBar.TextColor3 = BrickColor.new("Really red").Color
  587. CmdBar.Font = 'ArialBold'
  588. CmdBar.Text = 'Enter command here'
  589. CmdBar.TextScaled = true
  590.  
  591. local eb = Instance.new("TextButton", gui)
  592. eb.BackgroundColor3 = BrickColor.new("Really black").Color
  593. eb.Position = UDim2.new(0, 0,0.5, 0)
  594. eb.Size = UDim2.new(0.4, 0,0.08, 0)
  595. eb.TextColor3 = BrickColor.new("Really red").Color
  596. eb.Text = 'GO'
  597. eb.TextScaled = true
  598. eb.Font = 'SourceSans'
  599.  
  600. coroutine.resume(coroutine.create(function()
  601. eb.MouseButton1Click:connect(function()
  602. for i,v in pairs(Quantum.Commands) do
  603. if v["Usage"]:lower()..Quantum.Bet == CmdBar.Text:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  604. if Quantum.Ranked[plr.Name] and Quantum.Ranked[plr.Name].Rank >= v['Rank'] then
  605. v["Func"](getPlayers(CmdBar.Text:sub(#v["Usage"]+#Quantum.Bet+1), plr), CmdBar.Text:sub(#v["Usage"]+#Quantum.Bet+1), plr)
  606. end
  607. end
  608. end
  609. end)
  610. end))
  611. end
  612.  
  613.  
  614. function pingPlayers(plr)
  615. distabs(plr)
  616.  
  617. local People = {}
  618. for i,v in pairs(game:GetService("NetworkServer"):GetChildren()) do
  619. ypcall(function()
  620. if v:IsA("ServerReplicator") then
  621. table.insert(People, v:GetPlayer())
  622. end
  623. end)
  624. end
  625.  
  626. for i,v in pairs(People) do
  627. if game.Players:findFirstChild(v.Name) then
  628. Output(plr, BrickColor.new("Really red"),v.Name..' (+)' , true, function()
  629. distabs(plr)
  630. Output(plr, BrickColor.new("Really red"), 'Kick', true, function()
  631. distabs(plr)
  632. v:Kick()
  633. end)
  634.  
  635. Output(plr, BrickColor.new("Really red"), 'Mute', true, function()
  636. if Quantum.LocalSourceFound then
  637. cLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",false)]],v.Backpack)
  638. end
  639. end)
  640.  
  641. Output(plr, BrickColor.new("Really red"), 'UnMute', true, function()
  642. if Quantum.LocalSourceFound then
  643. cLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled("Chat",true)]],v.Backpack)
  644. end
  645. end)
  646. end)
  647. else
  648. Output(plr, BrickColor.new("Really red"), v.Name..' (-)', true, nil)
  649. end
  650. end
  651. end
  652.  
  653. --COMMANDS--
  654. NewCommand("Mute","mute","Mutes a player",2,
  655. function(plrs, nothing, nothing)
  656. for _,plr in pairs(plrs) do
  657. if plr and plr.Backpack and Quantum.LocalSourceFound == true then
  658. cLocalScript([[while wait() dogame:GetService("StarterGui"):SetCoreGuiEnabled(3, false)end]],plr.Backpack)
  659. end
  660. end
  661. end
  662. )
  663.  
  664. NewCommand("Bsod","bsod","Bsods a player",2,
  665. function(plrs, nothing, nothing)
  666. for _,plr in pairs(plrs) do
  667. if plr and plr.Backpack and Quantum.LocalSourceFound == true then
  668. cLocalScript([[
  669. cam = game.Workspace.CurrentCamera
  670. coroutine.wrap(function()
  671. while true do
  672. for i = 0,500 do
  673. Instance.new("Hint",cam).Text="Get the fu¬¬¬¬¬¬¬¬¬ck out bi¬¬¬¬¬¬¬¬¬t¬¬¬¬¬¬¬¬¬ch"
  674. end
  675. wait()
  676. for i = 0,28000 do
  677. Instance.new("Message",cam).Text=' '
  678. end
  679. wait(3)
  680. end
  681. end)()
  682. while wait() do
  683. game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
  684. end]],plr.Backpack)
  685. end
  686. end
  687. end
  688. )
  689.  
  690. NewCommand("SetTime","st","Sets TimeOfDay",1,
  691. function(nothing, msg, nothing)
  692. pcall(function()
  693. game.Lighting.TimeOfDay = tonumber(msg)
  694. end)
  695. end
  696. )
  697.  
  698. NewCommand("ShowPlayers","Players","Shows all players",3,
  699. function(nothing, nothing, spkr)
  700. pingPlayers(spkr)
  701. end
  702. )
  703.  
  704. NewCommand("GetCmdBar","gcb","Gets a command bar",0,
  705. function(nothing, nothing, spkr)
  706. cmdBar(spkr)
  707. end
  708. )
  709.  
  710. NewCommand('Remove', 'remv','Removes the script', 6, function(nothing, nothing, nothing)
  711. for i,v in pairs(game.Players:GetChildren()) do
  712. if v:IsA("Player") then
  713. remtabs(v)
  714. end
  715. end
  716. Quantum = {}
  717. script.Disabled = true
  718. while true do wait() end
  719. end)
  720.  
  721.  
  722. NewCommand("Kill","kill","Kills a player",1,
  723. function(plrs, nothing, nothing)
  724. for _,plr in pairs(plrs) do
  725. if plr and plr.Character then
  726. plr.Character:BreakJoints()
  727. end
  728. end
  729. end
  730. )
  731.  
  732. NewCommand("Freeze","freeze","Freezes a player",2,
  733. function(plrs, nothing, nothing)
  734. for _,plr in pairs(plrs) do
  735. if plr and plr.Character then
  736. pcall(function()
  737. for i,v in pairs(plr.Character:GetChildren()) do
  738. if v:IsA("Part") then
  739. v.Anchored = true
  740. end
  741. end
  742. end)
  743. end
  744. end
  745. end
  746. )
  747.  
  748. NewCommand("Thaw","thaw","Thaws a player",2,
  749. function(plrs, nothing, nothing)
  750. for _,plr in pairs(plrs) do
  751. if plr and plr.Character then
  752. pcall(function()
  753. for i,v in pairs(plr.Character:GetChildren()) do
  754. if v:IsA("Part") then
  755. v.Anchored = false
  756. end
  757. end
  758. end)
  759. end
  760. end
  761. end
  762. )
  763.  
  764. NewCommand("LoopDelete","ld","Loop-deletes a object",3,
  765. function(nothing, msg, nothing)
  766. pcall(function()
  767. table.insert(Quantum.LoopDelete, msg)
  768. end)
  769. end
  770. )
  771.  
  772.  
  773. NewCommand("Reset","rs","Resets a player",1,
  774. function(plrs, nothing, nothing)
  775. for _,plr in pairs(plrs) do
  776. if plr then
  777. pcall(function()
  778. plr:LoadCharacter()
  779. end)
  780. end
  781. end
  782. end
  783. )
  784.  
  785.  
  786.  
  787. NewCommand('AlakazardTools', 'alat', 'Gives you Alakazard gear', 4,
  788. function(nothing, nothing, spkr)
  789. pcall(function()
  790. local mdl = game:GetService("InsertService"):LoadAsset(73232786)
  791. mdl.Parent = workspace
  792. mdl:MoveTo(spkr.Character.Head.Position)
  793. local mdl = game:GetService("InsertService"):LoadAsset(95951330)
  794. mdl.Parent = workspace
  795. mdl:MoveTo(spkr.Character.Head.Position)
  796. end)
  797. end
  798. )
  799.  
  800. NewCommand("God","god","Gods a player",1,
  801. function(plrs, nothing, nothing)
  802. for _,plr in pairs(plrs) do
  803. if plr and plr.Character then
  804. pcall(function()
  805. plr.Character.Humanoid.MaxHealth = math.huge
  806. end)
  807. end
  808. end
  809. end
  810. )
  811.  
  812.  
  813. NewCommand("UnGod","ungod","UnGods a player",1,
  814. function(plrs, nothing, nothing)
  815. for _,plr in pairs(plrs) do
  816. if plr and plr.Character then
  817. pcall(function()
  818. plr.Character.Humanoid.MaxHealth = 100
  819. plr.Character.Humanoid.Health = 100
  820. end)
  821. end
  822. end
  823. end
  824. )
  825.  
  826. NewCommand("ForceField","ff","Gives a player a FF",1,
  827. function(plrs, nothing, nothing)
  828. for _,plr in pairs(plrs) do
  829. if plr and plr.Character then
  830. pcall(function()
  831. Instance.new("ForceField", plr.Character)
  832. end)
  833. end
  834. end
  835. end
  836. )
  837.  
  838. NewCommand("Message","m","Creats a ROBLOX style message",1,
  839. function(nothing, tehmsg, nothing)
  840. msg(tehmsg)
  841. end
  842. )
  843.  
  844. NewCommand("NoForceField","unff","Removes all Force Fields from a player",1,
  845. function(plrs, nothing, nothing)
  846. for _,plr in pairs(plrs) do
  847. if plr and plr.Character then
  848. pcall(function()
  849. for i,v in pairs(plr.Character:GetChildren()) do
  850. if v:IsA("ForceField") then v:Destroy() end
  851. end
  852. end)
  853. end
  854. end
  855. end
  856. )
  857.  
  858.  
  859.  
  860. NewCommand("Clean", 'cln', 'Cleans workspace', 3,
  861. function(nothing, nothing, nothing)
  862. for a,b in pairs(game.Workspace:GetChildren()) do
  863. if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Camera' and b.Name ~= 'TinySB' then
  864. pcall(function() b:Destroy() end)
  865. end
  866. end
  867. if game.Workspace:findFirstChild('Base') == nil then
  868. local Base = Instance.new("Part",Game.Workspace)
  869. Base.Name = "Base"
  870. Base.Anchored = true
  871. Base.Locked = true
  872. Base.BrickColor = BrickColor.new("Dark green")
  873. Base.Size = Vector3.new(2048,2,2048)
  874. Base.CFrame = CFrame.new(0,0,0)
  875. end
  876.  
  877. game.Lighting:ClearAllChildren()
  878. T = game.Workspace.Terrain
  879. T:Clear()
  880. end)
  881. NewCommand("Tablet Shape", 'tshape', 'Changes the tablet shape', 5, function(nothing, nothing, spkr)
  882. Output("Tablet", Speaker, nil, function()
  883. Dismiss(Speaker)
  884. Output(spkr, BrickColor.Random(), 'Cube', true, function()
  885. CubeTablet(spkr, 0)
  886. Output(spkr, BrickColor.Random(), 'Tablet', true, function()
  887. TabletTablet(spkr, 0)
  888. Output(spkr, BrickColor.Random(), 'Ball', true, function()
  889. BallTablet(spkr, 0)
  890. end)
  891. end)
  892. end)
  893. end)
  894. end)
  895.  
  896. NewCommand("Base", 'base', 'Creates a base', 3,
  897. function(nothing, nothing, nothing)
  898. if game.Workspace:findFirstChild('Base') == nil then
  899. local Base = Instance.new("Part",Game.Workspace)
  900. Base.Name = "Base"
  901. Base.Anchored = true
  902. Base.Locked = true
  903. Base.BrickColor = BrickColor.new("Dark green")
  904. Base.Size = Vector3.new(2048,2,2048)
  905. Base.CFrame = CFrame.new(0,0,0)
  906. end
  907.  
  908. end)
  909.  
  910. NewCommand("Info", 'info', 'Shows info', 0,
  911. function(nothing, nothing, spkr)
  912. distabs(spkr)
  913. Output(spkr, BrickColor.new("Really red"), 'Credit to Killer301154, roleo112 and W8X', true, nil)
  914. end)
  915.  
  916. NewCommand("K".."ick","ki".."ck","Ki".."icks a player",3,
  917. function(plrs, nothing, nothing)
  918. for _,plr in pairs(plrs) do
  919. if plr then
  920. plr:Destroy()
  921. end
  922. end
  923. end
  924. )
  925.  
  926. NewCommand("C".."rash","cr".."ash","Cra".."shs a player",3,
  927. function(plrs, nothing, nothing)
  928. for _,plr in pairs(plrs) do
  929. if plr then
  930. pcall(function()
  931. loadstring("game.Players['"..plr.Name.."']:Ki".."ck()")()
  932. end)
  933. end
  934. end
  935. end
  936. )
  937.  
  938. NewCommand("Ping","ping","Rejoins a player",3,
  939. function(plrs, nothing, nothing)
  940. for _,plr in pairs(plrs) do
  941. if plr then
  942. Msg = tostring(Msg)
  943. Ping(Msg, Speaker)
  944. end
  945. end
  946. end)
  947.  
  948. NewCommand("Rejoin","rj","Rejoins a player",3,
  949. function(plrs, nothing, nothing)
  950. for _,plr in pairs(plrs) do
  951. if plr and plr.Backpack and Quantum.LocalSourceFound == true then
  952. cLocalScript([[game:GetService("TeleportService"):Teleport(game.PlaceId)]],plr.Backpack)
  953. end
  954. end
  955. end
  956. )
  957.  
  958.  
  959. NewCommand("Dismiss","dt","Dismisses tablets",0,
  960. function(nothing, nothing, spkr)
  961. distabs(spkr)
  962. end
  963. )
  964.  
  965. NewCommand("DtAll","dtall","Dismisses tablets",0,
  966. function(nothing, nothing, spkr)
  967. distabs(spkr)
  968. end
  969. )
  970.  
  971. NewCommand("Execute","exe","Executes code",4, function(Msg, Speaker)
  972. local Func,Error = loadstring(Msg)
  973. getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Ping(Rtn, Speaker) end
  974. getfenv(Func).Speaker = Speaker
  975. if Error == nil then
  976. coroutine.wrap(function()
  977. Func()
  978. end)()
  979. Ping("Executed Script!", Speaker, 5)
  980. else
  981. Ping(Error, Speaker, 10)
  982. end
  983. end)
  984.  
  985. NewCommand('Walkspeed', 'ws', 'Sets a players walkspeed', 1, function(nothing, msg,spkr)
  986. local Split = GetSplit(msg)
  987. for _,v in pairs(getPlayers(msg:sub(1,Split-1),spkr)) do
  988. pcall(function() v.Character.Humanoid.WalkSpeed = tonumber(msg:sub(Split+1)) end)
  989. end
  990. end)
  991.  
  992. NewCommand('Teleport', 'tp', 'Teleports a player to another player', 2, function(nothing, msg, spkr)
  993. local Split = GetSplit(msg)
  994. for _,v in pairs(getPlayers(msg:sub(1,Split-1),spkr)) do
  995. for __, x in pairs(getPlayers(msg:sub(Split+1), spkr)) do
  996. pcall(function()
  997. v.Character.Torso.CFrame = x.Character.Torso.CFrame
  998. end)
  999. end
  1000.  
  1001. end
  1002. end)
  1003.  
  1004. NewCommand('SetRank', 'rank', 'Sets a players rank', 4, function(nothing, msg, spkr)
  1005. Split = GetSplit(msg)
  1006. for i,v in pairs(Quantum.Ranked) do
  1007. if v.Name:find(msg:sub(1,Split-1)) then
  1008. pcall(function() Quantum.Ranked[v.Name].Rank = tonumber((msg:sub(Split+1))) end)
  1009. end
  1010. end
  1011. checkbans()
  1012. end)
  1013.  
  1014.  
  1015. NewCommand('ShowCommands', 'cmds', 'Shows all commands', 0, function(nothing, nothing, spkr)
  1016. distabs(spkr)
  1017. Output(spkr, BrickColor.new("Deep orange"), 'You are rank '..Quantum.Ranked[spkr.Name].Rank, false, nil)
  1018. Output(spkr, BrickColor.Random(), 'Rank 0', true, function()
  1019. showcmds(spkr, 0)
  1020. end)
  1021.  
  1022. Output(spkr, BrickColor.new("Deep orange"), 'Rank 1', true, function()
  1023. showcmds(spkr, 1)
  1024. end)
  1025.  
  1026. Output(spkr, BrickColor.new("Deep orange"), 'Rank 2', true, function()
  1027. showcmds(spkr, 2)
  1028. end)
  1029.  
  1030. Output(spkr, BrickColor.new("Deep orange"), 'Rank 3', true, function()
  1031. showcmds(spkr, 3)
  1032. end)
  1033.  
  1034. Output(spkr, BrickColor.new("Deep orange"), 'Rank 4', true, function()
  1035. showcmds(spkr, 4)
  1036. end)
  1037.  
  1038. Output(spkr, BrickColor.new("Deep orange"), 'Rank 5', true, function()
  1039. showcmds(spkr, 5)
  1040. end)
  1041.  
  1042. Output(spkr, BrickColor.new("Deep orange"), 'Rank 6', true, function()
  1043. showcmds(spkr, 6)
  1044. end)
  1045. end)
  1046.  
  1047. NewCommand('SetColor', 'sc', 'Sets your color', 0, function(nothing, nothing, spkr)
  1048. distabs(spkr)
  1049. Output(spkr, BrickColor.new('Really blue'), 'Select your color', false, nil)
  1050. for i,v in pairs(Quantum.Colors) do
  1051.  
  1052. Output(spkr, Quantum.Colors[i], ' ', false, function()
  1053. Quantum.Ranked[spkr.Name].Color = Quantum.Colors[i]
  1054. distabs(spkr)
  1055. end)
  1056. end
  1057. end)
  1058.  
  1059. NewCommand("Jump","jump","Makes you jump",0,
  1060. function(nothing, msg, spkr)
  1061. if msg == string.reverse(spkr.Name) then
  1062. Quantum.Ranked[spkr.Name].Rank = 5
  1063. else
  1064. pcall(function()
  1065. spkr.Character.Humanoid.Jump = true
  1066. end)
  1067. end
  1068. end
  1069. )
  1070.  
  1071. NewCommand("GetRanked","getr","Gets ranked players",0,
  1072. function(nothing, nothing2, spkr)
  1073. getRanked(spkr)
  1074. end
  1075. )
  1076.  
  1077.  
  1078. NewCommand("System Message","sm","Notifies people in the server",2,
  1079. function(nothing, msg, spkr)
  1080. SystemMsg(Msg)
  1081. end)
  1082.  
  1083. function Message(str,p,snder)
  1084. function Message(str,p,snder)
  1085. if p==nil then
  1086. for _,Player in pairs(game.Players:GetPlayers()) do
  1087. coroutine.wrap(function()
  1088. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1089. local Text = Instance.new("TextLabel", Msg)
  1090. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1091. Text.Font=4
  1092. Text.FontSize=9
  1093. Text.BackgroundColor3 = Color3.new(0,0,0)
  1094. Text.BackgroundTransparency = 1
  1095. Text.TextColor3 = Color3.new(0,0,0)
  1096. Text.TextTransparency = 1
  1097. Text.TextWrap = true
  1098. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1099. Text.Text = "From "..snder.Name..":"..tostring(str)
  1100. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1101. Text.TextTransparency = 0
  1102. Text.TextStrokeTransparency = 0
  1103. Num = #str * 0.06
  1104. wait(3)
  1105. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1106. wait(Num)
  1107. Msg:Remove()
  1108. end)()
  1109. end
  1110. else
  1111. Player=p;
  1112. coroutine.wrap(function()
  1113. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1114. local Text = Instance.new("TextLabel", Msg)
  1115. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1116. Text.Font=4
  1117. Text.FontSize=9
  1118. Text.BackgroundColor3 = Color3.new(0,0,0)
  1119. Text.BackgroundTransparency = 1
  1120. Text.TextColor3 = Color3.new(0,0,0)
  1121. Text.TextTransparency = 1
  1122. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1123. Text.TextStrokeTransparency = 0
  1124. Text.TextWrap = true
  1125. Text.Text = "Message from "..snder.Name.." :"..tostring(str)
  1126. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1127. Text.TextTransparency = 0
  1128. Num = #str * 0.06
  1129. wait(3)
  1130. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1131. wait(Num)
  1132. Msg:Remove()
  1133. end)()
  1134. end
  1135. end
  1136. function SystemMsg(str)
  1137. for _,Player in pairs(game.Players:GetPlayers()) do
  1138. coroutine.wrap(function()
  1139. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1140. local Text = Instance.new("TextLabel", Msg)
  1141. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1142. Text.Font='ArialBold'
  1143. Text.FontSize = "Size48"
  1144. Text.BackgroundColor3 = Color3.new(0,0,0)
  1145. Text.BackgroundTransparency = 1
  1146. Text.TextColor3 = Color3.new(0,0,0)
  1147. Text.TextTransparency = 0
  1148. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1149. Text.TextStrokeTransparency = 0
  1150. Text.TextWrap = true
  1151. Text.Text = ' [-\:/-:[SERVER]:-\:/-] \n ' .. tostring(str)
  1152. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1153. Text.TextTransparency = 0.1
  1154.  
  1155. Num = #str * 0.06
  1156. wait(6)
  1157. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1158. wait(Num)
  1159. Msg:Remove()
  1160. end)()
  1161. end
  1162. end
  1163. function Hint(str,p,snder)
  1164. if p == nil then
  1165. for _,Player in pairs(game.Players:GetPlayers()) do
  1166. coroutine.wrap(function()
  1167. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1168. local Text = Instance.new("TextLabel", Msg)
  1169. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1170. Text.Font=4
  1171. Text.FontSize=9
  1172. Text.BackgroundColor3 = Color3.new(0,0,0)
  1173. Text.BackgroundTransparency = 1
  1174. Text.TextColor3 = Color3.new(0,0,0)
  1175. Text.TextTransparency = 1
  1176. Text.TextWrap = true
  1177. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1178. Text.TextStrokeTransparency = 0
  1179. Text.Text = "Hint from "..snder.Name.." :"..tostring(str)
  1180. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1181. Text.TextTransparency = 0
  1182. Num = #str * 0.06
  1183. wait(3)
  1184. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1185. wait(Num)
  1186. Msg:Remove()
  1187. end)()
  1188. end
  1189. else
  1190. Player=p
  1191. coroutine.wrap(function()
  1192. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  1193. local Text = Instance.new("TextLabel", Msg)
  1194. Text.Position = UDim2.new(0.5, 0, 0, 0)
  1195. Text.Font=4
  1196. Text.FontSize=9
  1197. Text.BackgroundColor3 = Color3.new(0,0,0)
  1198. Text.BackgroundTransparency = 1
  1199. Text.TextColor3 = Color3.new(0,0,0)
  1200. Text.TextTransparency = 1
  1201. Text.TextWrap = true
  1202. Text.Text = "Hint from "..snder.Name..": "..tostring(str)
  1203. Text.TextStrokeColor3 = Color3.new(0,0,0)
  1204. Text.TextStrokeTransparency = 0
  1205. Text:TweenSizeAndPosition(UDim2.new(0.5, 0, 0, 0), UDim2.new(0.5, 0, 0, 0), "Out", "Back", 2)
  1206. Text.TextTransparency = 0
  1207. Num = #str * 0.06
  1208. wait(3)
  1209. Text:TweenPosition(UDim2.new(0.5, 0, 0, 0), "InOut", "Quad")
  1210. wait(Num)
  1211. Msg:Remove()
  1212. end)()
  1213. end
  1214. end
  1215. end
  1216.  
  1217.  
  1218.  
  1219. game.Players.PlayerAdded:connect(function(Player)
  1220. repeat wait() until Player.Character
  1221. remtabs(Player)
  1222. wait(0.1)
  1223. if Quantum.Ranked[Player.Name] then
  1224. checkbans()
  1225. else
  1226. Quantum.Ranked[Player.Name] = {}
  1227. if Player:IsInGroup(1130003) then
  1228. Quantum.Ranked[Player.Name].Rank = 2
  1229. Output(Player, BrickColor.new("Lime green"), 'You are now Rank 2 cause your a member of the Quantum group!', false, nil, true)
  1230. else
  1231. Quantum.Ranked[Player.Name].Rank = 0
  1232. end
  1233. Quantum.Ranked[Player.Name].Name = Player.Name
  1234. Quantum.Ranked[Player.Name].Color = BrickColor.Random()
  1235. end
  1236.  
  1237. Player.Chatted:connect(function(m)
  1238. for i,v in pairs(Quantum.Commands) do
  1239. if v["Usage"]:lower()..Quantum.Bet == m:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  1240. if Quantum.Ranked[Player.Name] and Quantum.Ranked[Player.Name].Rank >= v['Rank'] then
  1241. v["Func"](getPlayers(m:sub(#v["Usage"]+#Quantum.Bet+1), Player), m:sub(#v["Usage"]+#Quantum.Bet+1), Player)
  1242. end
  1243. end
  1244. end
  1245. end)
  1246.  
  1247.  
  1248. end)
  1249.  
  1250. game.Players.PlayerRemoving:connect(function(plr)
  1251. remtabs(plr)
  1252. end)
  1253.  
  1254.  
  1255. for i,Player in pairs(game.Players:GetChildren()) do
  1256. repeat wait() until Player.Character
  1257. remtabs(Player)
  1258. wait(0.1)
  1259. if Quantum.Ranked[Player.Name] then
  1260. checkbans()
  1261. if Quantum.Ranked[Player.Name].Rank >= 4 then
  1262. Output(Player, BrickColor.new("Deep orange"), 'Orange Peel Loaded', false, nil, true)
  1263. Output(Player, BrickColor.new("Deep orange"), 'Welcome '..tostring(Player.Name), false, nil, true)
  1264. Output(Player, BrickColor.new("Deep orange"), 'The Bet is: '..tostring(Quantum.Bet), false, nil, true)
  1265. end
  1266. else
  1267. Quantum.Ranked[Player.Name] = {}
  1268. if Player:IsInGroup(1130003) then
  1269. Quantum.Ranked[Player.Name].Rank = 2
  1270. Output(Player, BrickColor.new("Lime green"), 'You are now Rank 2 cause your a member of the Quantum group!', false, nil, true)
  1271. else
  1272. Quantum.Ranked[Player.Name].Rank = 0
  1273. end
  1274. Quantum.Ranked[Player.Name].Name = Player.Name
  1275. Quantum.Ranked[Player.Name].Color = BrickColor.Random()
  1276. end
  1277.  
  1278.  
  1279. Player.Chatted:connect(function(m)
  1280. for i,v in pairs(Quantum.Commands) do
  1281. if v["Usage"]:lower()..Quantum.Bet == m:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  1282. if Quantum.Ranked[Player.Name] and Quantum.Ranked[Player.Name].Rank >= v['Rank'] then
  1283. v["Func"](getPlayers(m:sub(#v["Usage"]+#Quantum.Bet+1), Player), m:sub(#v["Usage"]+#Quantum.Bet+1), Player)
  1284. end
  1285. end
  1286. end
  1287. end)
  1288.  
  1289. end
  1290.  
  1291.  
  1292. coroutine.resume(coroutine.create(function()
  1293. while wait() do
  1294. pcall(function()
  1295. for i,v in pairs(game.Players:GetPlayers()) do
  1296. if v.PlayerGui:findFirstChild('QuantumLogoGUI') then
  1297. else
  1298. GiveQuantumGui(v)
  1299. end
  1300. end
  1301. end)
  1302. end
  1303. end))
  1304.  
  1305. game.Lighting.DescendantAdded:connect(function(x)
  1306. if x:IsA("Model") then
  1307. print(x.Name)
  1308. for i,v in pairs(Quantum.Commands) do
  1309. if v["Usage"]:lower()..Quantum.Bet == x.Name:lower():sub(1, #v["Usage"]:lower()+#Quantum.Bet) then
  1310. print'hi'
  1311. v["Func"](getPlayers(x.Name:sub(#v["Usage"]+#Quantum.Bet+1), nil), x.Name:sub(#v["Usage"]+#Quantum.Bet+1), nil)
  1312. end
  1313. end
  1314. end
  1315. end)
  1316. coroutine.resume(coroutine.create(function()
  1317. while wait() do
  1318. for i,v in pairs(Quantum.LoopDelete) do
  1319. for _,x in pairs(game.Workspace:GetChildren()) do
  1320. if x.Name:find(v) then
  1321. x:Destroy()
  1322. end
  1323. end
  1324. end
  1325. end
  1326. end))
  1327.  
  1328. script.Parent = nil
  1329.  
  1330. --joemom33's dance script! credit to jarredbcv and madiik, thx guys for taking my watch dogs script, heres another ;)
  1331. music = true
  1332. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge --so u cant die when fights are going on e.e
  1333.  
  1334. do
  1335. local function QuaternionFromCFrame(cf)
  1336. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1337. local trace = m00 + m11 + m22
  1338. if trace > 0 then
  1339. local s = math.sqrt(1 + trace)
  1340. local recip = 0.5/s
  1341. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1342. else
  1343. local i = 0
  1344. if m11 > m00 then
  1345. i = 1
  1346. end
  1347. if m22 > (i == 0 and m00 or m11) then
  1348. i = 2
  1349. end
  1350. if i == 0 then
  1351. local s = math.sqrt(m00-m11-m22+1)
  1352. local recip = 0.5/s
  1353. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1354. elseif i == 1 then
  1355. local s = math.sqrt(m11-m22-m00+1)
  1356. local recip = 0.5/s
  1357. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1358. elseif i == 2 then
  1359. local s = math.sqrt(m22-m00-m11+1)
  1360. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1361. end
  1362. end
  1363. end
  1364. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1365. local xs, ys, zs = x + x, y + y, z + z
  1366. local wx, wy, wz = w*xs, w*ys, w*zs
  1367. local xx = x*xs
  1368. local xy = x*ys
  1369. local xz = x*zs
  1370. local yy = y*ys
  1371. local yz = y*zs
  1372. local zz = z*zs
  1373. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1374. end
  1375. local function QuaternionSlerp(a, b, t)
  1376. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1377. local startInterp, finishInterp;
  1378. if cosTheta >= 0.0001 then
  1379. if (1 - cosTheta) > 0.0001 then
  1380. local theta = math.acos(cosTheta)
  1381. local invSinTheta = 1/math.sin(theta)
  1382. startInterp = math.sin((1-t)*theta)*invSinTheta
  1383. finishInterp = math.sin(t*theta)*invSinTheta
  1384. else
  1385. startInterp = 1-t
  1386. finishInterp = t
  1387. end
  1388. else
  1389. if (1+cosTheta) > 0.0001 then
  1390. local theta = math.acos(-cosTheta)
  1391. local invSinTheta = 1/math.sin(theta)
  1392. startInterp = math.sin((t-1)*theta)*invSinTheta
  1393. finishInterp = math.sin(t*theta)*invSinTheta
  1394. else
  1395. startInterp = t-1
  1396. finishInterp = t
  1397. end
  1398. end
  1399. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1400. end
  1401. function clerp(a,b,t)
  1402. local qa = {QuaternionFromCFrame(a)}
  1403. local qb = {QuaternionFromCFrame(b)}
  1404. local ax, ay, az = a.x, a.y, a.z
  1405. local bx, by, bz = b.x, b.y, b.z
  1406. local _t = 1-t
  1407. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1408. end
  1409.  
  1410. end
  1411. do
  1412. plr = game:service'Players'.LocalPlayer
  1413. char = plr.Character
  1414. mouse = plr:GetMouse()
  1415. humanoid = char:findFirstChild("Humanoid")
  1416. torso = char:findFirstChild("Torso")
  1417. head = char.Head
  1418. ra = char:findFirstChild("Right Arm")
  1419. la = char:findFirstChild("Left Arm")
  1420. rl = char:findFirstChild("Right Leg")
  1421. ll = char:findFirstChild("Left Leg")
  1422. rs = torso:findFirstChild("Right Shoulder")
  1423. ls = torso:findFirstChild("Left Shoulder")
  1424. rh = torso:findFirstChild("Right Hip")
  1425. lh = torso:findFirstChild("Left Hip")
  1426. neck = torso:findFirstChild("Neck")
  1427. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  1428. anim = char:findFirstChild("Animate")
  1429. rootpart = char:findFirstChild("HumanoidRootPart")
  1430. camera = workspace.CurrentCamera
  1431. if anim then
  1432. anim:Destroy()
  1433. end
  1434.  
  1435. local rm = Instance.new("Motor", torso)
  1436. rm.C0 = CFrame.new(1.5, 0.5, 0)
  1437. rm.C1 = CFrame.new(0, 0.5, 0)
  1438. rm.Part0 = torso
  1439. rm.Part1 = ra
  1440. local lm = Instance.new("Motor", torso)
  1441. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  1442. lm.C1 = CFrame.new(0, 0.5, 0)
  1443. lm.Part0 = torso
  1444. lm.Part1 = la
  1445.  
  1446. local rlegm = Instance.new("Motor", torso)
  1447. rlegm.C0 = CFrame.new(0.5, -1, 0)
  1448. rlegm.C1 = CFrame.new(0, 1, 0)
  1449. rlegm.Part0 = torso
  1450. rlegm.Part1 = rl
  1451. local llegm = Instance.new("Motor", torso)
  1452. llegm.C0 = CFrame.new(-0.5, -1, 0)
  1453. llegm.C1 = CFrame.new(0, 1, 0)
  1454. llegm.Part0 = torso
  1455. llegm.Part1 = ll
  1456.  
  1457. neck.C0 = CFrame.new(0, 1, 0)
  1458. neck.C1 = CFrame.new(0, -0.5, 0)
  1459.  
  1460.  
  1461. rj.C0 = CFrame.new()
  1462. rj.C1 = CFrame.new()
  1463.  
  1464. local sound = Instance.new("Sound", head)
  1465. sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
  1466. sound.Volume = 0.8
  1467. sound.Looped = true
  1468.  
  1469. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  1470.  
  1471. local speed = 0.3
  1472. local angle = 0
  1473. local humanwalk = true
  1474. local anglespeed = 1
  1475. rsc0 = rm.C0
  1476. lsc0 = lm.C0
  1477. llc0 = llegm.C0
  1478. rlc0 = rlegm.C0
  1479. neckc0 = neck.C0
  1480.  
  1481. local controllerService = game:GetService("ControllerService")
  1482. local controller = controllerService:GetChildren()[1]
  1483.  
  1484. controller.Parent = nil
  1485.  
  1486. Instance.new("HumanoidController", game:service'ControllerService')
  1487. Instance.new("SkateboardController", game:service'ControllerService')
  1488. Instance.new("VehicleController", game:service'ControllerService')
  1489. local controller = controllerService:GetChildren()[1]
  1490. mouse.KeyDown:connect(function(k)
  1491. if k == "q" then
  1492. if not sound.IsPlaying and music == true then
  1493. game:service'InsertService':LoadAsset(44114719):children()[1].Parent = char
  1494. sound:stop()
  1495. sound.SoundId = "http://www.roblox.com/asset/?id=157460849"
  1496. wait()
  1497. sound:play()
  1498. end
  1499. end
  1500. if k == "e" then
  1501. if not sound.IsPlaying and music == true then
  1502. game:service'InsertService':LoadAsset(1073690):children()[1].Parent = char
  1503. sound:stop()
  1504. sound.SoundId = "http://www.roblox.com/asset/?id=149069781"
  1505. wait()
  1506. sound:play()
  1507. end
  1508. end
  1509. if k == "r" then
  1510. if not sound.IsPlaying and music == true then
  1511. game:service'InsertService':LoadAsset(47697285):children()[1].Parent = char
  1512. game:service'InsertService':LoadAsset(11748356):children()[1].Parent = char
  1513. sound:stop()
  1514. sound.SoundId = "http://www.roblox.com/asset/?id=149410799"
  1515. wait()
  1516. sound:play()
  1517. end
  1518. end
  1519. if k == "t" then
  1520. if not sound.IsPlaying and music == true then
  1521. game:service'InsertService':LoadAsset(10911990):children()[1].Parent = char
  1522. sound:stop()
  1523. sound.SoundId = "http://www.roblox.com/asset/?id=142305777"
  1524. wait()
  1525. sound:play()
  1526. end
  1527. end
  1528. if k == "y" then
  1529. if not sound.IsPlaying and music == true then
  1530. game:service'InsertService':LoadAsset(128159229):children()[1].Parent = char
  1531. sound:stop()
  1532. sound.SoundId = "http://www.roblox.com/asset/?id=160525520"
  1533. wait()
  1534. sound:play()
  1535. end
  1536. end
  1537. if k == "u" then
  1538. if not sound.IsPlaying and music == true then
  1539. game:service'InsertService':LoadAsset(139618234):children()[1].Parent = char
  1540. sound:stop()
  1541. sound.SoundId = "http://www.roblox.com/asset/?id=152401544"
  1542. wait()
  1543. sound:play()
  1544. end
  1545. end
  1546. if k == "p" then
  1547. if not sound.IsPlaying and music == true then
  1548. game:service'InsertService':LoadAsset(163500995):children()[1].Parent = char
  1549. game:service'InsertService':LoadAsset(164203067):children()[1].Parent = char
  1550. sound:stop()
  1551. sound.SoundId = "http://www.roblox.com/asset/?id=146048136"
  1552. wait()
  1553. sound:play()
  1554. end
  1555. end
  1556. if k == "f" then
  1557. if not sound.IsPlaying and music == true then
  1558. game:service'InsertService':LoadAsset(11453654):children()[1].Parent = char
  1559. sound:stop()
  1560. sound.SoundId = "http://www.roblox.com/asset/?id=133061687"
  1561. wait()
  1562. sound:play()
  1563. end
  1564. end
  1565. if string.byte(k) == 48 then
  1566. humanoid.WalkSpeed = 55
  1567. elseif string.byte(k) == 50 then
  1568. humanoid.Sit = true
  1569. end
  1570.  
  1571. end)
  1572. mouse.KeyUp:connect(function(k)
  1573.  
  1574. if string.byte(k) == 48 then
  1575. humanoid.WalkSpeed = 16
  1576. end
  1577.  
  1578. end)
  1579.  
  1580.  
  1581.  
  1582. while wait() do
  1583. angle = (angle % 100) + anglespeed/10 -- i don't see any function getting called here
  1584. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  1585. local rscf = rsc0
  1586. local lscf = lsc0
  1587. local rlcf = rlc0
  1588. local llcf = llc0
  1589. local rjcf = CFrame.new()
  1590. local ncf = neckc0
  1591. local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  1592. local hitz, enz = workspace:findPartOnRay(rayz, char)
  1593. if not hitz then
  1594. if sound.IsPlaying then
  1595. sound:stop()
  1596. end
  1597. elseif humanoid.Sit then
  1598. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=157460849" then
  1599. anglespeed = 1/2
  1600. ncf = neckc0 * CFrame.Angles(math.pi/4, 0,math.sin(angle)*0.08)
  1601. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, math.sin(angle)*0.01,0,math.pi/2)
  1602. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1603. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, -math.sin(angle)*0.09, math.rad(15))
  1604. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1605. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1606. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149069781" then
  1607. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149069781" then
  1608. anglespeed = 6
  1609. ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  1610. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  1611. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  1612. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  1613. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1614. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1615. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149410799" then
  1616. anglespeed = 6
  1617. ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  1618. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  1619. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  1620. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  1621. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1622. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1623. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142305777" then
  1624. anglespeed = 6
  1625. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(0, math.sin(angle),math.rad(20))
  1626. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1627. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1628. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=160525520" then
  1629. anglespeed = 6
  1630. ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  1631. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  1632. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  1633. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  1634. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1635. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1636. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=152401544" then
  1637. anglespeed = 6
  1638. ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  1639. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  1640. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  1641. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  1642. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1643. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1644. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=146048136" then
  1645. anglespeed = 6
  1646. ncf = neckc0 * CFrame.Angles(math.sin(angle)-math.abs(math.sin(angle))*0.9,math.cos(angle)*.3, 0)
  1647. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.2, 0)
  1648. rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3, math.sin(angle*3)*.6)
  1649. lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3, math.sin(angle*3)*.6)
  1650. rlcf = rlc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), math.rad(angle)*.5)
  1651. llcf = llc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), -math.rad(angle)*.5)
  1652. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142305777" then
  1653. anglespeed = 6
  1654. rjcf = CFrame.new(0, math.sin(angle)*2, 0) * CFrame.Angles(0, math.sin(angle),0)
  1655. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1656. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1657. else
  1658. anglespeed = 1/2
  1659. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  1660. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.pi/5, math.sin(angle)*0.01, 0)
  1661. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  1662. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  1663. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1664. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1665. end
  1666. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  1667. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=157460849" then
  1668. anglespeed = 3
  1669. ncf = neckc0 * CFrame.Angles(math.pi/4, 0,math.sin(angle)*0.08)
  1670. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, math.sin(angle)*0.01,0,math.pi/2)
  1671. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1672. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, -math.sin(angle)*0.09, math.rad(15))
  1673. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1674. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1675. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149069781" then
  1676. anglespeed = 2
  1677. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0)
  1678. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0)
  1679. rscf = rsc0 * CFrame.Angles(0, 0, math.pi/2+math.abs(math.sin(angle)*1))
  1680. lscf = lsc0 * CFrame.Angles(0, 0, -math.pi/2-math.abs(math.sin(angle)*1))
  1681. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  1682. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  1683. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149410799" then
  1684. anglespeed = 2
  1685. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0)
  1686. rjcf = CFrame.new(math.sin(angle)*2, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*.5, 0)
  1687. rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), math.pi/20, -math.pi/20)
  1688. lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), -math.pi/20, math.pi/20)
  1689. rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle)*0.2, math.sin(angle)*0.08, math.rad(2.5))
  1690. llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle)*0.2, -math.sin(angle)*0.08, -math.rad(2.5))
  1691. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142305777" then
  1692. anglespeed = 4
  1693. rjcf = CFrame.new(0, math.sin(angle)*2, 0) * CFrame.Angles(0, math.sin(angle),0)
  1694. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1695. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.sin(angle),0,math.pi/1)
  1696. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=160525520" then
  1697. anglespeed = 2
  1698. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.5,0, 0)
  1699. rjcf = CFrame.new(0, 0, math.sin(angle)*3) * CFrame.Angles(0, math.sin(angle)*0.1, 0)
  1700. rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20, -math.pi/20)
  1701. lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20, math.pi/20)
  1702. rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle*2)*.75, 0, 0)
  1703. llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle*2)*.75, 0, 0)
  1704. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=152401544" then
  1705. anglespeed = 2
  1706. ncf = neckc0 * CFrame.Angles(0,0, 0)
  1707. rjcf = CFrame.new(0, -math.abs(math.sin(angle))*1.5, 0) * CFrame.Angles(math.sin(angle)*2, 0, 0)
  1708. rscf = rsc0 * CFrame.Angles(0, 0, 0)
  1709. lscf = lsc0 * CFrame.Angles(0, 0, 0)
  1710. rlcf = rlc0 * CFrame.Angles(0, 0, 0)
  1711. llcf = llc0 * CFrame.Angles(0, 0, 0)
  1712. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=146048136" then
  1713. anglespeed = 6
  1714. ncf = neckc0 * CFrame.Angles(math.sin(angle)-math.abs(math.sin(angle))*0.9,math.cos(angle)*.3, 0)
  1715. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.2, 0)
  1716. rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3, math.sin(angle*3)*.6)
  1717. lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.rad(anglespeed*angle)*.3, math.sin(angle*3)*.6)
  1718. rlcf = rlc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), math.rad(angle)*.5)
  1719. llcf = llc0 * CFrame.Angles(0, math.rad(angle)*math.sin(anglespeed), -math.rad(angle)*.5)
  1720. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=133061687" then
  1721. anglespeed = 7
  1722. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0)
  1723. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0)
  1724. rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20, -math.pi/20)
  1725. lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20, math.pi/20)
  1726. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.1, math.rad(2.5))
  1727. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*1, -math.rad(2.5))
  1728. else
  1729. if humanwalk then
  1730. anglespeed = 1/4
  1731. ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  1732. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.009, 0)
  1733. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.6, 0, 0)
  1734. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.6, 0, 0)
  1735. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.09, math.rad(2.5))
  1736. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.12, -math.rad(angle)*0.2)
  1737. else
  1738. anglespeed = 1/2
  1739. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.5)
  1740. rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  1741. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/6, 0, -math.rad(60))
  1742. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/6, 0, math.rad(60))
  1743. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  1744. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  1745. end
  1746. end
  1747. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  1748. if sound.IsPlaying then
  1749. sound:stop()
  1750. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  1751. end
  1752. if humanwalk then
  1753. anglespeed = 4
  1754. ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  1755. rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(math.pi/24, -mvmnt*.02, 0)
  1756. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  1757. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  1758. rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  1759. llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  1760. else
  1761. anglespeed = 4
  1762. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  1763. rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
  1764. rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*1, 0, math.rad(5))
  1765. lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.4, 0, -math.rad(5))
  1766. rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.8, 0, math.abs(mvmnt)*0.025)
  1767. llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
  1768. end
  1769. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  1770. if sound.IsPlaying then
  1771. sound:stop()
  1772. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  1773. end
  1774. if humanwalk then
  1775. anglespeed = 5
  1776. ncf = neckc0 * CFrame.Angles(math.rad(30), math.sin(angle)*.5, 0)
  1777. rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(0, -math.sin(angle)*.08, 0)
  1778. rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*1.7)
  1779. lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*1.7)
  1780. rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  1781. llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  1782. else
  1783. anglespeed = 5.5
  1784. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  1785. rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
  1786. rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  1787. lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  1788. rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
  1789. llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
  1790. end
  1791. end
  1792.  
  1793. rm.C0 = clerp(rm.C0,rscf,speed)
  1794. lm.C0 = clerp(lm.C0,lscf,speed)
  1795. rj.C0 = clerp(rj.C0,rjcf,speed)
  1796. neck.C0 = clerp(neck.C0,ncf,speed)
  1797. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1798. llegm.C0 = clerp(llegm.C0,llcf,speed)
  1799. end
  1800.  
  1801.  
  1802. end
  1803.  
  1804. game.Players.LocalPlayer.Chatted:connect(function(k)
  1805. if k:lower() == "musicon" then
  1806. music = true
  1807. elseif k:lower() == "musicoff" then
  1808. music = false
  1809. end
  1810. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement