Hey guys so I'm trying to make an entity not be so OP, so I wanted to make a timer between spawning this specific entity. I don't know lua apart from what I've seen and the 7 or so videos I watched on Python, so here's my valient effort :/ don't judge me XD
(yes I did 'lock'. I'm a mapper not a coder XD)
onBought = function()
if timer < 900
then lock "Viper"
In other words, when someone spawns this entity I don't want him to be able to spawn it for another 15 minutes.
EDIT: Could someone explain to my why this is dumb? Did I miss a post?
EDIT2: okay apparently this thread is 5 years old haha I just saw the post above me which was 2 days old