Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What error did i make?

Asked by 8 years ago

well im making a RPG game,and i added some scripting stuff.Anyway that is not the point.Well for some reason the error correcter on the bottom of the script keeps saying this. "Expected '}' (to close '}' at line 32), got 'DEX'. " HERES MY SCRIPT

~~~~~~~~~~~~~~~~~ local module = {}

module.settings = { general = { levelcap = 30, EXPmultiplier = 5, XPtype = 'Linear'

},

hp = {

StartingHP = 100, HPPerLevel = 0.5, HPPerCon = 0.08
}, damage = { RangedDamage = { PerLevel = 0.01, PerDex = 0.08 }, meleeDamage = { perLevel = 0.04, PerSTR = 0.08

}

},

StatIncreases = { Berserker = { STR = 12, DEX = 7 CON = 8

},

          Demon = {
    STR = 7
    DEX = 9
    CON = 15
}

} }

return module ~~~~~~~~~~~~~~~~~

0
O.O SRRY BOUT THIS LEMME EDIT IT PLZ UNDERSTAND IM STILL A NUB dracomaster153 15 — 8y

Answer this question