Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2.  
  3. local Box = Instance.new("Part",Player.Character)
  4. local Mesh = Instance.new("BlockMesh",Box)
  5. local Sound = Instance.new("Sound",Box)
  6.  
  7. Box.Size = Vector3.new(2,2,2)
  8. Box.BrickColor = BrickColor.new("White")
  9. Box.Material = "Neon"
  10. Box.CanCollide = false
  11. Box.Anchored = true
  12. Box.Transparency = .5
  13. Sound.SoundId = "http://www.roblox.com/asset?id=619549122"
  14. Sound:Play()
  15.  
  16. if m:lower():sub(1,#Settings.Prefix+#'mbounce ')==Settings.Prefix..'mbounce ' then
  17. Settings.MusicLerp = tonumber(m:sub(#Settings.Prefix+#'mbounce '+1))
  18. print("Music Bounce: "..m:sub(#Settings.Prefix+#'smooth '+1))
  19.  
  20. game:GetService("RunService").RenderStepped:connect(function()
  21. local SPB = Sound.PlaybackLoudness/150
  22. Box.CFrame = Box.CFrame:lerp(Player.Character.Head.CFrame * CFrame.new(0,3,0),.1)
  23. Box.Size = Box.Size:lerp(Vector3.new(SPB,SPB,SPB),.3)
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement