Hello!
For some reason, the GUI appears and works properly only the second time it appears, after dying. I tried this on ROBLOX Studio, and it works fine on the first try. I updated and saved the game multiple times. Is there any way to fix this?
Here’s a video:
Also, why does it take me forever to respawn? Any way to make the process quicker?
D3V_Pop
(RushDev)
July 14, 2020, 11:12pm
2
Does the “Yes! Teleport me!” go away when you press it? I don’t know why it takes you forever to respawn.
To change the respawn time, go to players then by properties go to respawn time and change it.
1 Like
Yes, when players press “Yes! Teleport me!” the two TextButtons and the TextLabel become .Visible = false.
Here’s the script:
local player = game.Players.LocalPlayer
--the buttons--
local openbutton = player.PlayerGui.TestObby.openButton
local Teleportconfirm = player.PlayerGui.TestObby.TeleportConf
local xButton = player.PlayerGui.TestObby.xButton
local texts = player.PlayerGui.TestObby.Text
openbutton.Activated:Connect(function()
Teleportconfirm.Visible = true
xButton.Visible = true
texts.Visible = true
end)
Teleportconfirm.Activated:Connect(function()
Teleportconfirm.Visible = false
xButton.Visible = false
texts.Visible = false
end)
GUI1 is the “Yes! Teleport me.”
EDIT: Wrong script, sorry.
D3V_Pop
(RushDev)
July 14, 2020, 11:43pm
5
I don’t understand any of that but it sounds good.
“Teleportconfirm” is the “Yes! Teleport me” button.
Sorry for the confusion
The problem still persists. It’s really strange because everything works fine on the first try in Studio.
D3V_Pop
(RushDev)
July 15, 2020, 12:19am
8
Scripts not in right places? If you can’t fix it then I guess just redo it.
I’ll try to. I’m going to post a Studio bug as this is unusual.
Thanks very much for the help @D3V_Pop and @SpacialEthanRB !