script.Parent:RemoveDefaultLoadingScreen()
local screen = Instance.new("ScreenGui")
screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
screen.Name = "LoadingScreen"
local F = Instance.new("Frame")
F.Parent = screen
F.Active = true
F.BackgroundColor3 = Color3.new(75/255, 75/255, 75/255)
F.BackgroundTransparency = 0
F.Size = UDim2.new({1, 0},{1, 0})
F.Zindex = 1
F.Visible = true
local L = Instance.new("ImageLabel")
L.Parent = F
L.Backgroundtransparency = 1
L.Image = "rbxassetid://231758516"
L.Name = "Logo"
L.Position = UDim2.new({0.5, -400},{0.45, -350})
L.Size = UDim2.new({0, 800},{0, 700})
L.Zindex = 2
local T = Instance.new("ImageLabel")
T.Parent = F
T.Backgroundtransparency = 1
T.Image = "rbxassetid://231758593"
T.Name = "MovingTyre"
T.Position = UDim2.new({0.5, -150},{0.45, -150})
T.Size = UDim2.new({0, 300},{0, 300})
T.Rotation = 0
local W = Instance.new("TextLabel")
W.Parent = F
W.BackgroundTransparency = 1
W.Name = "LoadingLabel"
W.Position = UDim2.new({0.5, -200},{0.7, -25})
W.Size = UDim2.new({0, 400},{0, 50})
W.Font = "SourceSansBold"
W.Text = "Loading... Please wait."
W.TextColor3 = Color3.new(1, 1, 1)
W.TextScaled = true
local P = Instance.new("TextLabel")
P.Parent = F
P.BackgroundTransparency = 1
P.Name = "Progress"
P.Position = UDim2.new({0.5, -100},{0.8, -25})
P.Size = UDim2.new({0, 200},{0, 50})
P.Font = "SourceSansBold"
P.Text = ""
P.TextColor3 = Color3.new(1, 1, 1)
P.TextScaled = true
local Wh = T.Rotation
local PS = 1 - game.ContentProvider.RequestQueueSize*100
while game.ContentProvider.RequestQueueSize > 0 do
P.Text = (PS)"%"
Wh.Value = (Wh.Value - 1)
wait (.1)
end
local count = 0
if game.ContentProvider.RequestQueueSize = 0 then
P.Visible = false
W.Text = "Game Sucessfully Loaded. Starting In few seconds..."
wait (5)
screen.Parent = nil
end
Supposly, it should create a Loading Screen that have a logo and a turning wheel. When it finished loading, it would say that i will enter the game in few seconds.
But the line 65 thrown me a error. What's wrong???

2 comments
It would help if you provided the type of error you are getting.
Expected 'then', got '='