Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make Continue Button Appear after 3 secs?? NOt Working

Asked by 8 years ago

This Script is in the text button and I don't know why its not working I want to make sure it happens when a player joins the game

1game.Players.PlayerAdded:connect(function()
2    if hum then
3        wait()
4        hum = game:FindFirstChild("Humanoid")
5        script.Parent.Visible = true
6    else
7        print("No Humanoid Yet")
8    end
9end)

1 answer

Log in to vote
2
Answered by
Master_JJ 229 Moderation Voter
8 years ago

I think you're just over thinking a simple problem.

What I would use is put a local script in a text button, and make sure the button is invisible before I run a game. In the local script I would put a wait(3) then make it visible.

1local gui = script.Parent
2wait(3)
3gui.Visible = true
0
+ It'll only fire when another player joins, unless if the GUI's in the server. TheeDeathCaster 2368 — 8y
Ad

Answer this question