Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Why are my print statements not printing?

Asked by
2Loos 130
5 days ago

So I am making a plane game. Each time the player dies, he/she is supposed to see a GUI asking them where to spawn. Here is the script. It uses PlayerAdded() function.

local player = game.Players.LocalPlayer
local character = player.Character

game.Players.LocalPlayer.CharacterAdded:Connect(function()
    print("Character Added") --Neither print statement printing!
    script.Parent.Visible = true
    print("parent was made visible so player can select where to spawn again!")
end)

This gui is crucial to my game, please help!

Answer this question