#loading screen stuck at a certain % for other people but not for me
1 messages · Page 1 of 1 (latest)
this is my loading screen script:
local replicatedFirst = game:GetService("ReplicatedFirst")
local contentProvider = game:GetService("ContentProvider")
local tweenService = game:GetService("TweenService")
local players = game:GetService("Players")
local player = players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local loadingScreen = script:WaitForChild("LoadingScreen")
replicatedFirst:RemoveDefaultLoadingScreen()
local assets = game:GetDescendants()
local clonedLoadingScreen = loadingScreen:Clone()
clonedLoadingScreen.Parent = playerGui
tweenService:Create(clonedLoadingScreen.Background.GameTitle, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), {Position = UDim2.fromScale(clonedLoadingScreen.Background.GameTitle.Position.X.Scale, clonedLoadingScreen.Background.GameTitle.Position.Y.Scale + 0.02)}):Play()
for i = 1, #assets do
local asset = assets[i]
local percentage = math.round(i / #assets * 100)
contentProvider:PreloadAsync({asset})
clonedLoadingScreen.Background.DisplayPercentage.Text = percentage.."%"
clonedLoadingScreen.Background.DisplayAssetsLoaded.Text = "Loading Assets: "..i.."/"..#assets
tweenService:Create(
clonedLoadingScreen.Background.BarBackground.Bar,
TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out),
{Size = UDim2.fromScale(percentage / 100, 1)}
):Play()
if i % 15 == 0 then
task.wait()
end
if i == #assets then
task.wait(1)
end
end
-- Fade out UI elements
for i, v in pairs(clonedLoadingScreen:GetDescendants()) do
if v:IsA("Frame") then
tweenService:Create(v, TweenInfo.new(0.5), {BackgroundTransparency = 1}):Play()
elseif v:IsA("TextLabel") then
tweenService:Create(v, TweenInfo.new(0.5), {TextTransparency = 1}):Play()
elseif v:IsA("ImageLabel") then
tweenService:Create(v, TweenInfo.new(0.5), {ImageTransparency = 1}):Play()
end
end
you might be loading something that others can't load because they don't have access to the asset or something, which is kinda ironic
also maybe make a fallback if the loading takes too long
let me see if they have any error messages
k
this is the only one
maybe because i uploaded a custom idle animation i made?
cause on team test only I have the idle on my screen, for other people they are just standing still
ahahahaha
i knew this would happen
ok so basically if an asset gets uploaded
and gets rejected by roblox
it won't be usable by anyone else who doesn't own the asset
this happened with a few of my animations
another reason might be the ownership of the animations
group games need group assets and vice versa
oh i see
so check if any assets got content deleted or whatnot
where would i see that?
creator hub or toolbox > creations/group creations (the lightbulb)
i dont think it got deleted i still see the idle i used in that list
is it because its only owned by me and not the group?

ok so i uploaded it to the group and it loads for others now
but if i were to publish the game, wouldn't players not be able to see the idle unless they joined the group?
no because the idle animation was already uploaded regardless
and i think the ownership only applies to developers
either that or only whoever uploaded it
ah okay
do you know how to upload a walk animation to the game? i can't seem to figure it out
all the tutorials are the same and never work
its weird
i have it set to movement priority
i uploaded it to the group
and changed the id in the animate localscript
but it still doesn't work
script?
ok can you show me what's inside the script
oh it's the roblox thingy
well kinda
what you can do
is you can copy all of that
paste it into a normal script instead
and set the normal script runcontext to client
so for all players it should show
by default
did you set all the stuff
hmmm
oh yeah
might not work like that then
can you see it from the server?
with any runcontexts?
uhmmm
idk how to do that
1
sec
i changed the runcontext to every one of them and it still didn't work
its weird it worked in a different baseplate but idk how i did it
can you try the script from that other game
** You are now Level 11! **
yay
like take the animate script from my other game and put into this one?
i guess
so it works?
