Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

This script worked in solo but not working online, why?

Asked by
fdfxd 50
10 years ago
01local StarterGui = game:GetService('StarterGui')
02 
03StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
04 
05 
06script.Rain:Play()
07script.Beep:Play()
08 
09function 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
17end
18 
19 
20game: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

Answer this question