Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Ejemplo
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
- end)
- -- CODIGO
- script.Parent.Sound.SoundId = "rbxassetid://8835008243" --- La ID de cualquier canción
- script.Parent.Sound:Play()
- -- COMBINADO EJEMPLO
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
- -- Music click
- script.Parent.Sound.SoundId = "rbxassetid://8835008243"
- script.Parent.Sound:Play()
- -- Music click
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement