Hello! i'm currently developing a game it is been really good so far and i came up a problem that i can not solve by my own i'm planing to make like a Touch event and clone's the gui and transfer the parent it into the specific player that who touched it.
What i did is i transfer the GUI to the specific player to their PlayerGui and it Works! but the problem is when the player tries to reset their character the gui will be automatically deleted? and i don't want the brick to be touch constantly to get the Gui..
db = false
script.Parent.Touched:connect(function(player)
if db == false then
db = true
local gui = script.Parent.ScreenGui:Clone()
gui.Parent = game.Players:FindFirstChild(player.Parent.Name).PlayerGui
wait(5)
db = false
end
end)
if anyone can describe it on how to do it? it would be really greatful! thanks!
~ Angie

1 comment
Omg! Thank you for the help never knew of that! btw it was "Starter Gui" i was confused on that time.