I used a video guide to do this but it's giving me no error but I typed
for i,v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.ScreenGui.TextBox.visible = true
wait(10)
v.PlayerGui.ScreenGui.TextBox.visible = false
end
i did the same thing for an image lable this code is in the text box
function textchange(text)
script.Parent.Text = (text)
wait (1)
end
while script.Parent.Visible == true do
textchange("loading.")
textchange("loading..")
textchange("loading...")
textchange("loading....")
textchange("loading.....")
end
if script.Parent.Visible == false
then
textchange("loading")
end

8 comments
try using GetChildren() instead of GetPlayers()
ok ill try now
Um, GetChildren is much worse.
it dose not work still lol
You can do this: for r = 1,5 do textchange("loading"..('.'):rep(r)) end
Could you give us the error?
14:53:06.499 - Workspace.Script:1: attempt to index nil with 'ScreenGui'
for r = 1,5 do textchange("loading"..('.'):rep(r) .PlayerGui.ScreenGui.TextBox.visible == true )wait(10) .PlayerGui.ScreenGui.TextBox.visible = false end