Faczki
(Faczki)
February 4, 2021, 3:45pm
1
Basically, i have a main screen UI, and a play script that sets the UI’s Enabled property to false everytime you click play.
My problem is the UI even with ResetOnSpawn turned true, when the player dies and respawns the UI is still not appearing.
I know that may be a simple problem but i can’t find a simple solution.
Can anyone help me? Thanks!
lluckvy
(aaron)
February 4, 2021, 4:01pm
2
I’d appreciate if you showed us your script because this is scripting support
Faczki
(Faczki)
February 4, 2021, 4:06pm
3
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Enabled = false
end)
As simple as it goes
crab_talk
(crabmania)
February 4, 2021, 4:08pm
4
Try turning off reset after spawn on the screen gui
1 Like
If you make it disabled it may be trying to reset on spawn but it’s not Enabled. Try making a script with player.CharacterAdded that makes it Enabled instead of using ResetonSpawn.
3 Likes
lluckvy
(aaron)
February 4, 2021, 4:11pm
6
What you could do is have the script make sure that the GUI is enabled when they respawn.
CharacterAdded
TYSM. idk y I never thought of that. Although I had to fix other things through the programming cause I turned it off, but thanks