The Problem
Thank you for looking at my question. I have a issue with a local script inside frame, inside a startergui called 'StartMenu'. It's been working perfectly so far, but then some errors came in after a Roblox Studio update (Per Usual), it all of the sudden stopped. I have the local script right here in the following code
WARNING!
The Code Is Very Long!
The Code
Player = game.Players.LocalPlayer--Begining Of Variables
Menu = script.Parent
Play = Menu.Play
About = Menu.About
HasPressedPlay = false
Info = script.Parent.Info
Minimize = Info.Minimize
DRG = script.Parent["Dark Realm Games"]--End Of Variables
Menu.Parent = 'PlayerGui'
function MouseEnterPlayButton()--Begining Of Functions
Play.FontSize = "Size36"
Play.Size = UDim2.new(0, 200, 0, 80)
end
function MouseLeftPlayButton()
--170, 0, 0 Color
--{0, 200},{0, 50} Size
Play.FontSize = "Size24"
Play.Size = UDim2.new(0, 200, 0, 50)
end
function MouseEnterDRGButton()
DRG.FontSize = "Size36"
DRG.Size = UDim2.new(0, 200, 0, 80)
end
function MouseLeftDRGButton()
DRG.FontSize = "Size24"
DRG.Size = UDim2.new(0, 200, 0, 50)
end
function MouseEnterAboutButton()
About.FontSize = "Size36"
About.Size = UDim2.new(0, 200, 0, 80)
end
function MouseLeftAboutButton()
--170, 0, 0 Color
--{0, 200},{0, 50} Size
About.FontSize = "Size24"
About.Size = UDim2.new(0, 200, 0, 50)
end
function PlayGame()
if HasPressedPlay == false then
for GuiMove = 1, 30 do
if GuiMove <= 20 then
Play.Position = Play.Position +UDim2.new(0.05, 0, 0, 0)
end
if GuiMove >= 10 then
About.Position = About.Position -UDim2.new(0.05, 0, 0, 0)
end
if GuiMove >= 10 then
Info.Position = Info.Position +UDim2.new(0, 0, 0.05, 0)
end
if GuiMove>= 10 then
DRG.Position = DRG.Position -UDim2.new(0, 0, 0.05, 0)
end
wait()
end
Menu:remove()
end
end
function MinimizeInfo()
Info.Visible = false
end
function InfoPopUp()--End Of Functions
if Info.Visible == true then
Info.Visible = false
else
Info.Visible = true
end
end
Minimize.MouseButton1Down:connect(MinimizeInfo)--Repeating Code To Have It Processed
About.MouseButton1Down:connect(InfoPopUp)
About.MouseLeave:connect(MouseLeftAboutButton)
About.MouseEnter:connect(MouseEnterAboutButton)
Play.MouseLeave:connect(MouseLeftPlayButton)
Play.MouseEnter:connect(MouseEnterPlayButton)
Play.MouseButton1Down:connect(PlayGame)
DRG.MouseEnter:connect(MouseEnterDRGButton)
DRG.MouseLeave:connect(MouseLeftDRGButton)--End Of Processing Code
There's An Output Error
Players.Player.PlayerGui.StarterGui.StartMenu.Frame.Such Fancy:79: '' expected near 'end'
So
Can you help me? Thank you!
