InternalServerError occuring often

As you see in the image, I keep recieving “InternalServerError” messages, this has not been the first time and happens very often.

Source Codes:

Gamepass Related:

for i, v in pairs(Player:FindFirstChild("Data"):FindFirstChild("Gamepasses"):GetChildren()) do
					if v.Name == "NoTeamLimit" and v.Value ~= true then
						v.Value = MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 1069058266) or MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 918542695)
					end
					if v.Name == "MoreGrenades" and v.Value ~= true then
						v.Value = MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 1067715795)
					end
					if v.Name == "BomberDrone" and v.Value ~= true then
						v.Value = MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 1067857475) or MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 897180421)
					end
					if v.Name == "FPVDrone" and v.Value ~= true then
						v.Value = MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 1067650005) or MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 917331341)
					end
					if v.Name == "DoubleCash" and v.Value ~= true then
						v.Value = MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 1067649261)
					end
				end
			end

Badges Related:

if player.Team == game.Teams.Allegiance and not BadgeService:UserHasBadgeAsync(player.UserId, 2243085114753673) then
				BadgeService:AwardBadge(player.UserId, 2243085114753673)
			end
			if player.Team == game.Teams.Coalition and not BadgeService:UserHasBadgeAsync(player.UserId, 1689030484296393) then
				BadgeService:AwardBadge(player.UserId, 1689030484296393)
			end

Game Link: Eastern Reign - Roblox

1 Like