My GUI Script isn't working, the GUI sits in front of the players face without moving the whole game and then disconnects the player. This is the Custom Loading Screen Script:

script.Parent:RemoveDefaultLoadingScreen()

local screen = Instance.new("ScreenGui") screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local textLabel = Instance.new("TextLabel") textLabel.Parent = screen textLabel.Text = "Loading Game" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size200

local count = 0 while game.ContentProvider.RequestQueueSize > 0 do textLabel.Text = "Loading Game" for i=1,count do textLabel.Text = textLabel.Text .. "." end count = (count + 1) % 4 wait(.3) end

screen.Parent = nil

2 comments

1

I'm not to sure but I don't think there is a font size called size200 only goes up to 48

0

Yeah, font sizes are Enums set by ROBLOX so you can't use custom values like 200.