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" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size14
local count = 0 while game.ContentProvider.RequestQueueSize > 0 do textLabel.Text = "Loading " for i=1,count do textLabel.Text = textLabel.Text .. "." end count = (count + 1) % 4 wait(.3) end
screen.Parent = nil
Please put your code in lua. If you do not know how to, simply click the blue bubble and add your code in the lines.
When asking a question, you dont tend to put the entire question in the title and your script in the bottom. Nor do you post the title and comments In capitals. Its highly annoying, which just reduces the chance you're going to get an answer.
Also please put your code in code block, all you have to do is click the lua button and put your code in that, making it easier to read.
Scripts dont work in ReplicatedFirst. Change it rather to PlayerGui and heres the new code:
game:service('ReplicatedFirst'):RemoveDefaultLoadingScreen() local screen = Instance.new("ScreenGui") screen.Parent = game:service('Players').LocalPlayer:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel") textLabel.Parent = screen textLabel.Text = "Loading" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size14 local count = 0 while game.ContentProvider.RequestQueueSize > 0 do textLabel.Text = "Loading " for i=1,count do textLabel.Text = textLabel.Text .. "." end count = (count + 1) % 4 wait(.3) end screen.Parent = nil
Hope this helps! If not tell output! ~marcoantoniosantos3 (Remember to make this correct answer)
Closed as Not Constructive by FearMeIAmLag, Spongocardo, and TheeDeathCaster
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?