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

Start GUI works in Studio, but not in servers?(I FIXED!)

Asked by
Vid_eo 126
9 years ago

I was making a start GUI for my game, and it worked just fine in studio, but not in servers. I tried to fix it by making the variables local and not local, but it still didn't work. Here is the script:

01local Player = game.Players.LocalPlayer
02Box = script.Parent.Parent.Frame
03Play = script.Parent.Parent.Play
04gui = script.Parent.Parent
05Text = script.Parent.Parent.TextLabel1
06local Sound = Instance.new("Sound", gui)
08Sound.Pitch = 1
09Sound.Volume = 0.7
10 
11Sound:Play()
12 
13 
14function MouseEnterPlayButton()
15    Play.FontSize = "Size48"
View all 33 lines...

Thanks! -club101coolguy

0
Next time, press F9 in game to see output. Nickoakz 231 — 9y

Answer this question