I am making a dungeon game on roblox, and whenever you enter a dungeon, a start button is on the screen, when you press it, it counts down then it removes the invisible wall that is blocking the enterance to fight the enemys. BUT i cannot find a way to make this appear for everyone! if someone else starts it, if you press the button the :go!!!" is stuck on your screen! can anyone help? thanks/
script.Parent.MouseButton1Click:Connect(function()
local count = script.Parent.Parent.count
count.Visible = true
script.Parent.Visible = false
wait(1)
count.Text = 4
wait(1)
count.Text = 3
wait(1)
count.Text = 2
wait(1)
count.Text = 1
wait(1)
count.Text = "GO!!!"
game.Workspace["startpart"]:Destroy()
game.Workspace["startpart1"]:Destroy()
game.Workspace["startpart2"]:Destroy()
game.Workspace["startpart3"]:Destroy()
game.Workspace["startpart4"]:Destroy()
game.Workspace["startpart5"]:Destroy()
game.Workspace["startpart6"]:Destroy()
game.Workspace["startpart7"]:Destroy()
game.Workspace["startpart8"]:Destroy()
game.Workspace["startpart9"]:Destroy()
script.Parent.Parent:Destroy()
end)

1 comment
The start parts are just the barrier that is blocking the entrance of the dungeon.this script is in a text button btw.