Advertisement
antoniorigo4

localscript visualizer

Aug 9th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. local visualmodel = workspace:WaitForChild("visual")
  2. local sound = visualmodel.Sound
  3. sound:Play()
  4. game:GetService("RunService").RenderStepped:Connect(function()
  5. local playback = sound.PlaybackLoudness
  6. local reduced = playback/math.random(16,20)
  7. local mover = visualmodel.mover
  8. --mover.Position.X = mover.Position.X + 0.01
  9. --mover.Position.Y = math.max(reduced+0.3,11.5)
  10. mover.Position = Vector3.new(mover.Position.X + 0.05,reduced)
  11. local clone = mover:Clone() clone.Parent = visualmodel.garbage clone.BrickColor = BrickColor.new("Black") clone.Position = Vector3.new(mover.Position.X-0.025,mover.Position.Y-0.025,mover.Position.Z)
  12. print(reduced)
  13. end)
  14. --localscript playergui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement