game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local RushBGui = game.ServerStorage:WaitForChild("GamePasses"):WaitForChild("RussianTransfer"):Clone()
local mlgPlayers = {"flyerbram002", "MrCrutuBringer", "eleutherios", "ihab123432gamer", "nettimato", "loleris", "TrulyRev", "CishShato", "AxisAngle",}
local passID = 11260362
if Player.Name == mlgPlayers then
RushBGui.Parent = Player.PlayerGui.pickweap.Main.RussianWeaps
end
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, passID) then
RushBGui.Parent = Player.PlayerGui.pickweap.Main.RussianWeaps
end
end)
end)
this script gives gamepass owners or vip players a gui, which works, until they die. How do I get it to continue giving them the gui?

2 comments
You can make a remote event for everyone that asks for GUI when they spawn. The server will check if it is the right person.
unnecessary