Pointshop How to make spec not get points?

Like the title says how can i make it so spec in ttt can not gain points while alive/dead can. The problem i’m having isSpec() counts dead people as spec


	if PS.Config.PointsOverTime then
		timer.Create('PS_PointsOverTime_' .. self:UniqueID(), PS.Config.PointsOverTimeDelay * 60, 0, function()
			if !IsValid(self) then return end
			if self:IsSpec() then
			self:PS_GivePoints(0)
			self:PS_Notify("While in spec you gain no ", PS.Config.PointsName)
		else
			self:PS_GivePoints(PS.Config.PointsOverTimeAmount)
			self:PS_Notify("You've been given ", PS.Config.PointsOverTimeAmount, " ", PS.Config.PointsName, " for playing on the server!")
			end
		end)
	end

Use self:GetForceSpec() instead

Thank you that fixed it.