How do i tell if players have premium

If a player joins with Roblox Premium i want there speed to be doubled but don’t know how to and i have already tried searching for this but i haven’t been able to find a post on it and i’m bad at searching for things.

Try this Premium Payouts

game.Players.PlayerAdded:Connect(function(plr)
	if plr.MembershipType == Enum.MembershipType.Premium then
		print(plr.Name .. " has premium")
	else
		print(plr.Name .. " has no premium")
	end
end)
1 Like