#End Error

1 messages · Page 1 of 1 (latest)

brisk locust
#

I'm trying to make this kill brick activate after 10 seconds, but my code is saying there's an error with the 'end)' at the end of the code. Can someone tell me how to fix this? (I've only been scripting for two days.)

sage pendant
brisk locust
#

Where should I place them?

sage pendant
#

Oh wait, you also didn’t close your for loop

#

Actually, just reading this code, it is a tad confusing. Why not just task.wait(10) before connecting the killBrick.Touched event

brisk locust
#

oh that is a good idea

#

I just used ai for some help

#

it said that task.wait(1) would cause a 1 second pause between iterations

sage pendant
#

All you’re doing is counting up and checking if it has been 10 seconds. Might as well just wait 10 seconds in 1 go

brisk locust
#

I was using it as a timer but Im just realizing I can do task.wait

next sphinxBOT
#

studio** You are now Level 1! **studio