Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local __Music__ = Instance.new("ScreenGui")
- local Sound = Instance.new("Sound")
- local Frame = Instance.new("ImageLabel")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- local Frame2 = Instance.new("ImageLabel")
- --Properties:
- __Music__.Name = "__Music__"
- __Music__.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- -- __Music__.ResetOnSpawn = false
- Sound.Name = "Sound"
- Sound.Parent = __Music__
- Frame.Name = "Frame"
- Frame.Parent = __Music__
- Frame.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.Position = UDim2.new(0.5, 0, 0.5, 0)
- Frame.Size = UDim2.new(0, 0, 0, 0)
- Frame.Image = "rbxassetid://4131455960"
- Frame.ImageColor3 = Color3.new(0.25,0.25,0.75)
- Frame.ImageTransparency = 0
- Frame.ScaleType = Enum.ScaleType.Stretch
- Frame.SliceCenter = Rect.new(0, 0, 0, 0)
- UIAspectRatioConstraint.Name = "UIAspectRatioConstraint"
- UIAspectRatioConstraint.Parent = Frame
- Frame2.Name = "Frame"
- Frame2.Parent = Frame
- Frame2.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame2.BackgroundTransparency = 1
- Frame2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Frame2.Size = UDim2.new(0.75, 0, 0.75, 0)
- Frame2.Image = "rbxassetid://970022625"
- Frame2.ScaleType = Enum.ScaleType.Stretch
- Frame2.SliceCenter = Rect.new(0, 0, 0, 0)
- -- Scripts:
- function Play(Id)
- Sound:Stop()
- Sound.SoundId = "rbxassetid://" .. string.format(Id)
- Sound:Play()
- end
- local MaxSize = 0.1
- local PerPL = MaxSize/1000
- Play(512482601)
- while wait() do
- if Sound.Playing == false then
- __Music__:Remove()
- break
- end
- local Size = 0.2+(Sound.PlaybackLoudness*PerPL)
- Frame.Size = UDim2.new(Size,0,Size,0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement