function onTouch(Part) wait(1) game.StarterGui.ScreenGui.Frame.Visible = true wait(1) end script.Parent.Touched:connect(onTouch)
please help me With this
Changing things in StarterGui will not change anything else. You will see the changes when you die and the elements of StarterGui are copied back into your PlayerGui. Instead of changing what is given to you when you respawn, change what you actually have already.
script.Parent.Touched:connect(function(Part) local player=game.Players:GetPlayerFromCharacter(Part.Parent) if player then wait(1) player:WaitForChild("PlayerGui"):WaitForChild("ScreenGui"):WaitForChild("Frame").Visible=true wait(1) end end)