#Im making a combat system

1 messages · Page 1 of 1 (latest)

timber haven
#

Idk what i did wrong 😅

#

Someone pls tell me what i did wrong?

spark pendant
#

you forgot to close alot of things

rain flare
#

In the first script

timber haven
#

Where?

spark pendant
#

.

timber haven
#

Like where do i add end?

rain flare
#

Write end) in the first script

#

At the bottom

spark pendant
#

you also forgot to close a function in the second script

timber haven
#

Like this?

rough vesselBOT
#

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

timber haven
rain flare
timber haven
#

Yh

rain flare
#

Then no

timber haven
rain flare
#

Write end) at the bottom left

spark pendant
#

check ur dms

timber haven
timber haven
rain flare
timber haven
#

Ah

timber haven
low rose
# timber haven Like this?

oh god.
unlike most languages, lua requires you to add an "end" to every single statement you make. Those statements being any If statements, While and For loops, any event functions, and standalone functions.

#

...you did not do that at all

#

thats literally why it doesn't work

rain flare
cobalt bane
#

test your additions slowly instead of trying to write a whole system without even testing it onceThumbs

rough vesselBOT
#

studio** You are now Level 5! **studio

native folio
rain flare