Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Box = Instance.new("Part",Player.Character)
- local Mesh = Instance.new("BlockMesh",Box)
- local Sound = Instance.new("Sound",Box)
- Box.Size = Vector3.new(2,2,2)
- Box.BrickColor = BrickColor.new("White")
- Box.Material = "Neon"
- Box.CanCollide = false
- Box.Anchored = true
- Box.Transparency = .5
- Sound.SoundId = "http://www.roblox.com/asset?id=619549122"
- Sound:Play()
- if m:lower():sub(1,#Settings.Prefix+#'mbounce ')==Settings.Prefix..'mbounce ' then
- Settings.MusicLerp = tonumber(m:sub(#Settings.Prefix+#'mbounce '+1))
- print("Music Bounce: "..m:sub(#Settings.Prefix+#'smooth '+1))
- game:GetService("RunService").RenderStepped:connect(function()
- local SPB = Sound.PlaybackLoudness/150
- Box.CFrame = Box.CFrame:lerp(Player.Character.Head.CFrame * CFrame.new(0,3,0),.1)
- Box.Size = Box.Size:lerp(Vector3.new(SPB,SPB,SPB),.3)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement