I'm trying to make a random loading screen for a test. The bar in the loading screen won't size (tweensizing). Also there are no errors.
--LOCAL SCRIPT--
wait()
game.ReplicatedStorage.RemoteEventz:WaitForChild("guistartSize").OnClientEvent:Connect(function(tweenprop, wshumanoidonJoined)
game:GetService("StarterGui"):SetCoreGuiEnabled("All",(false)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (wshumanoidonJoined)
script.Parent.LittleGreen:TweenSize(UDim2.new(0,498,0,61),"In","Quart",tweenprop)
if script.Parent.LittleGreen.Size.Y == UDim2.new(0,0,0,61) and script.Parent.LittleGreen.Size.X == UDim2.new(0,498,0,0) then
script.Parent.BackgroundTransparency = .1
wait(.8)
script.Parent.BackgroundTransparency = .2
wait(.8)
script.Parent.BackgroundTransparency = .3
wait(.8)
script.Parent.BackgroundTransparency = .4
wait(.8)
script.Parent.BackgroundTransparency = .5
wait(.8)
script.Parent.BackgroundTransparency = .6
wait(.8)
script.Parent.BackgroundTransparency = .7
wait(.8)
script.Parent.BackgroundTransparency = .8
wait(.8)
script.Parent.BackgroundTransparency = .9
wait(.8)
script.Parent.BackgroundTransparency = 1
wait(.8)
game:GetService("StarterGui"):SetCoreGuiEnabled("All",(true)
end
end)
--SERVER SCRIPT--
wait()
game.ReplicatedStorage.RemoteEventz:WaitForChild("guistartSize")
game.Players.PlayerAdded:Connect(function(plr)
game.ReplicatedStorage.RemoteEventz.guistartSize:FireClient(plr, 1.8, 0)
end)

4 comments
Are you sure about the "no errors" part? I found a syntax error while reading through the first script.
There's no error in the output though.
Have you heard about a for loop?
https://scriptinghelpers.org/questions/69456/how-does-an-advanced-for-loop-actually-work#66398