i'm trying to make a custom splashscreen. i've placed a localscript into replicatedfirst but it's not cloning the screengui into playergui. what am i missing? i've also tried adding a print line and it isn't printing either

script.Parent:RemoveDefaultLoadingScreen()
 print(1)
local splashc = script.splash:Clone()
splashc.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

wait(15)
splashc:Destroy() 
 

2 comments

0

is splash inside of script? Try bumping line 4 to line 5, make line 5 "game.Players.LocalPlayer:WaitForChild("PlayerGui") then line 5, parent the Clone into PlayerGui

0

ty. I changed it and it is working now.