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)