You should not use multiple callback events within one another. It will become tedious, I’d recommend this layout instead (A script placed in StarterCharacterScripts):
local GamepassID = 703396350
local MarketplaceService = game:GetService("MarketplaceService")
local Character = script.Parent
local Player = game:GetService("Players"):GetPlayerFromCharacter(Character)
if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, GamepassID) then
Character.Humanoid.Died:Connect(function()
Player:LoadCharacter()
end)
end
local GamepassID = 703396350
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
game.Players.PlayerAdded:Connect(function(Player)
if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, GamepassID) then
Player.CharacterAdded:Connect(function(Character)
Character.Humanoid.Died:connect(function()
Player:LoadCharacter()
end)
end)
end
end)