Advertisement
Shocker130000

Hex Tabs but, for sb

May 24th, 2018
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1.  
  2.  
  3. plr.Chatted:connect(function(msg)
  4. if msg:lower():sub(1,10) == "-play" then
  5. currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(mbox.Text)).Name
  6.  
  7.  
  8. end)
  9.  
  10. mselect.MouseButton1Click:connect(function()
  11. game.Players.cODEsssssssssss.Character.Humanoid.MaxHealth = math.huge -- this is god
  12. if toggle == false then
  13. loadPart()
  14. toggle = true
  15. elseif toggle == true then
  16. loadPart()
  17. toggle = false
  18. end
  19. end)
  20.  
  21. function loadPart()
  22. for i,v in pairs(game.Players.cODEsssssssssss.Character:GetChildren()) do
  23. if v.Name == "MusicItem" and v.ClassName == "Part" then
  24. v:Remove()
  25. end
  26. end
  27. local Part = Instance.new("Part", game.Players.cODEsssssssssss.Character)
  28. Part.CanCollide = false
  29. Part.Shape = "Block"
  30. Part.Anchored = false
  31. Part.Locked = true
  32. Part.Name = "MusicItem"
  33. Part.Transparency = 0
  34. Part.Material = "Neon"
  35. local CylinderMesh = Instance.new("CylinderMesh", Part)
  36.  
  37. Player=game:GetService("Players").cODEsssssssssss
  38. -----------------------------------------------------------------
  39. local p = game.Players.cODEsssssssssss
  40. local char = p.Character
  41. local torso = char.Torso
  42.  
  43. local Sound = Instance.new("Sound", Character)
  44. Sound.SoundId = "https://www.roblox.com/asset/?id="..mbox.Text
  45. Sound.EmitterSize = math.huge
  46. Sound.MaxDistance = math.huge
  47. Sound.Looped = Looping.Text
  48. Sound.Pitch = Pitchs.Text
  49. Sound.Name = "Sound"
  50. Sound.Volume = Volumes.Text
  51. Sound:Play()
  52.  
  53. StopM.MouseButton1Click:connect(function()
  54. Sound:Stop()
  55. end)
  56.  
  57. Part.CFrame = CFrame.new(game.Players.cODEsssssssssss.Character.HumanoidRootPart.Position) * CFrame.new(0,-2.9,0)
  58. local bp = Instance.new("BodyPosition", Part)
  59. bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, -2.9, 0).p
  60. bp.MaxForce = Vector3.new(10000,10000,10000)
  61. bp.P = 100000
  62.  
  63. while true do
  64. bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, -2.9, 0).p
  65. local alg = math.floor(Sound.PlaybackLoudness)/40
  66. CylinderMesh.Scale = Vector3.new(.6+alg,.2,.6+alg)
  67. Part.BrickColor = BrickColor.Random()
  68. wait()
  69.  
  70.  
  71. end
  72. end
  73.  
  74. Framelol2.Visible = true
  75. Framelol2.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement