So I'm doing a self check-in, and I wanna redirect a player to an endpoint if the player doesn't own said asset. I would think the following would work
elseif MarketplaceService:PlayerOwnsAsset(Player, Asset) then
but after I thought about it, elseif isn't really saying it's false, and I can't just add a == false to it or anything. Is there an easy way to do this because I'm lazy and I wanna get this finished lol.

4 comments
Can you elaborate, I don't know how I could use break, because I'm pretty sure it just breaks the loop, and not wouldn't work in this case.
Actually, yeah.
notworked. Thanks. I put the not in the wrong place first time because I'm an idiot.You could use == false since PlayerOwnsAsset() returns a boolean.
break wouldn't be useful in this type of situation.