01 | local StarterGui = game:GetService( 'StarterGui' ) |
02 |
03 | StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false ) |
04 |
05 |
06 | script.Rain:Play() |
07 | script.Beep:Play() |
08 |
09 | function start() |
10 | print ( "Started mate" ) |
11 | script.Parent.Visible = false |
12 | script.Parent.Parent.Menu.Visible = true |
13 | script.Click:Play() |
14 | wait( 1 ) |
15 | script.Piano:Play() |
16 | script.Disabled = true |
17 | end |
18 |
19 |
20 | game:GetService( "UserInputService" ).InputBegan:connect(start) |
Why?
It doesn't work in a local script or a normal script, it's in the starter GUI
the input service doesn't read and the sounds don't play for some reason