-
What do you want to achieve? Keep it simple and clear!
i want a gui to appear when a remote event is triggered then stay even after a character dies -
What is the issue? Include screenshots / videos if possible!
however after you die the gui disapears -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive looked and tried solutions but none of them work, reset on spawn is on
here is the script
local ding = game.SoundService.ding
local Value = script.Parent.Value
local ScreenGui = game.Players.LocalPlayer.PlayerGui.MainGui:WaitForChild(“Objective”)
local NewTextLabel = Instance.new(“TextLabel”)
game.ReplicatedStorage.Remotes.Cutscene1.OnClientEvent:Connect(function(player)
task.wait(11)
ScreenGui.Frame.Visible = true
end)
game.ReplicatedStorage.Remotes.up1.OnClientEvent:Connect(function()
script.Parent.Frame.Text.Text = “Walk to work”
ding:Play()
end)
game.ReplicatedStorage.Remotes.up2.OnClientEvent:Connect(function()
script.Parent.Frame.Text.Text = “Enter the back of the store”
ding:Play()
game.ReplicatedStorage.Remotes.up2:Destroy()
end)
game.ReplicatedStorage.Remotes.up3.OnClientEvent:Connect(function()
script.Parent.Frame.Text.Text = “Stock the Shelves”
ding:Play()
end)
game.ReplicatedStorage.Remotes.stockStop.OnClientEvent:Connect(function()
script.Parent.Frame.Text.Text = “Check the fuse box outside the building”
ding:Play()
game.SoundService[“Power Outage”]:Play()
end)
game.Players.LocalPlayer.CharacterAdded:Connect(function()
ScreenGui.Frame.Visible = true
end)