How Do I Fix This? (SOLVED)

I have come across this in my output and I don’t know what to do, I was simply making a checkpoint system for my game. This isn’t too surprising though since I am a beginner scripter and starting out with a DCO.

i need help on this 2

if player ~= nil and {touchDB[player.UserId] or 0} + 1 <= os.time() then

Any suggestion are appreciated!

What do you mean by touchDB[player.UserId] or 0 What is your code making

You can do this:

local debounce = touchDB[player.UserId] or 0

if player and debounce + 1 <= os.time() then
	
end

Thanks for the suggestion, I will try and use that right now!