So I have a loading screen that appears when a player joins. For now I’m just making it stay on the screen so I can see if it appears when I join. But it doesn’t. Here’s the script.
game.Players.PlayerAdded:Connect(function(player) player.PlayerGui.Loading.Enabled = true end)
Try removing line 1 and line 3, 'PlayerAdded' has never worked for me, and instead, just let the script run whenever it's ready (which is when you start the game). Instead, add a variable at the start of the script saying: player = game.Players.LocalPlayer; so that the script looks more like this:
local player = game.Players.LocalPlayer player.PlayerGui.Loading.Enabled = true
You can make an easier Loading screen. You can make a screengui (and frame) and put this localscript: EDIT: Forgot to change the speed and jump power back xD
local h = character:WaitForChild("Humanoid") h.jumpPower = 0 -- sets the jump power to 0 so the character can't jump h.WalkSpeed = 0-- sets the speed to 0 so the character can't move wait(7) -- wait 7 seconds h.JumpPower = 50 -- considering you use the default jump power h.WalkSpeed = 16 -- considering you use the default speed script.Parent.Frame.Visible = false -- after 7 seconds, remove the loading screen
you should estimate the seconds you have to wait by how big the game is (is it a big game or is it something like a small project?)
let me know if there are any problems!