local start = script.Parent.Play
local fade = false
local menu = script.Parent
function MouseOverStart()
start.FontSize = "Size24"
start.UDim2.new(0.25, 0.2, 0.25, 0.5)
end
function MouseLeavesStart()
start.FontSize = "Size24"
end
function Playgame()
if fade == false then
menu:remove()
end
end
start.MouseLeave:connect(MouseLeavesStart)
start.MouseEnter:connect(MouseOverStart)
start.MouseButton1Down:connect(Playgame)
So, this is code for some gui, when I test it it runs fine. But when I use regular servers outside of studio it doesn't work do I have to use local players while using it or something.

2 comments
localscript?
Yes its a local script