Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local visualmodel = workspace:WaitForChild("visual")
- local sound = visualmodel.Sound
- sound:Play()
- game:GetService("RunService").RenderStepped:Connect(function()
- local playback = sound.PlaybackLoudness
- local reduced = playback/math.random(16,20)
- local mover = visualmodel.mover
- --mover.Position.X = mover.Position.X + 0.01
- --mover.Position.Y = math.max(reduced+0.3,11.5)
- mover.Position = Vector3.new(mover.Position.X + 0.05,reduced)
- 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)
- print(reduced)
- end)
- --localscript playergui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement