Because that also didn’t work so I asked someone who would know how to fix it, so they made it that the GUI gets cloned into the playerGUI
Alright, I’ll try and let you know if it worked
In the properties menu there is a option to turn on or off reset on spawn just turn it on
NOTE: if you have any scripts that delete the menu it wont work if you move the menu to replicated storage etc… it wont work so if you have a script that does that just change it to make the gui not visible
EDIT: also have it so the ui is visible when they join(i think)
Hope that helped
Simply put the UI on StarterGui and ENABLE ResetOnSpawn.
The thing is, as the videos show I am using custom models and if I enable it then the player clicks on the button, becomes the animal, the GUI disappears for like 1 frame and then it’s back… the same with disabling
I also tried that! But yeah it causes the menu to appear, the character chooses the animal, the player spawns in and then the menu comes back
game:GetService('Players').PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(c)
c.Humanoid.Died:Connect(function()
print(player.Name .. " has died!")
local gui = player:WaitForChild("PlayerGui")
local new = script.MenuGui:Clone()
new.Parent = gui
end)
end)
end)
If any of its parents are not visible then it wont be try that maybe
Edit: if not i have No idea
Also tried :’) It’s like impossible and I thought it would be easy with the Property ResetOnSpawn but I would rather send the .rbxl file because it’s so hard to explain
I have no idea that usually works for me weird
Same tho, but in this case I am using custom models (idek if that’s the problem) but yeah I also don’t get it
waitt… can you show me the screengui properties?
Yeah sure! It looks like this:
Set the ResetOnSpawn one to false.
Now it doesn’t show up if the player joins and after death it appears but if you choose the character it doesn’t disappear (even tho it’s supposed to disappear)
If you want to have a look at it:
MenuGUI.rbxl (53,9 KB)
Edit: In this file your script I just used was not involved yet, I tested your script in Roblox Studio
If anyone has an Idea I would be thankful… I still haven’t found any solution
-
Clone the Gui when the player join
-
Set Gui ResetOnSpawn to false
End the story