Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "-play" then
- currentsong = game:GetService("MarketplaceService"):GetProductInfo(tonumber(mbox.Text)).Name
- end)
- mselect.MouseButton1Click:connect(function()
- game.Players.cODEsssssssssss.Character.Humanoid.MaxHealth = math.huge -- this is god
- if toggle == false then
- loadPart()
- toggle = true
- elseif toggle == true then
- loadPart()
- toggle = false
- end
- end)
- function loadPart()
- for i,v in pairs(game.Players.cODEsssssssssss.Character:GetChildren()) do
- if v.Name == "MusicItem" and v.ClassName == "Part" then
- v:Remove()
- end
- end
- local Part = Instance.new("Part", game.Players.cODEsssssssssss.Character)
- Part.CanCollide = false
- Part.Shape = "Block"
- Part.Anchored = false
- Part.Locked = true
- Part.Name = "MusicItem"
- Part.Transparency = 0
- Part.Material = "Neon"
- local CylinderMesh = Instance.new("CylinderMesh", Part)
- Player=game:GetService("Players").cODEsssssssssss
- -----------------------------------------------------------------
- local p = game.Players.cODEsssssssssss
- local char = p.Character
- local torso = char.Torso
- local Sound = Instance.new("Sound", Character)
- Sound.SoundId = "https://www.roblox.com/asset/?id="..mbox.Text
- Sound.EmitterSize = math.huge
- Sound.MaxDistance = math.huge
- Sound.Looped = Looping.Text
- Sound.Pitch = Pitchs.Text
- Sound.Name = "Sound"
- Sound.Volume = Volumes.Text
- Sound:Play()
- StopM.MouseButton1Click:connect(function()
- Sound:Stop()
- end)
- Part.CFrame = CFrame.new(game.Players.cODEsssssssssss.Character.HumanoidRootPart.Position) * CFrame.new(0,-2.9,0)
- local bp = Instance.new("BodyPosition", Part)
- bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, -2.9, 0).p
- bp.MaxForce = Vector3.new(10000,10000,10000)
- bp.P = 100000
- while true do
- bp.Position = Character:FindFirstChild("Torso").CFrame * CFrame.new(0, -2.9, 0).p
- local alg = math.floor(Sound.PlaybackLoudness)/40
- CylinderMesh.Scale = Vector3.new(.6+alg,.2,.6+alg)
- Part.BrickColor = BrickColor.Random()
- wait()
- end
- end
- Framelol2.Visible = true
- Framelol2.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement