I'm trying to script one of my first gears and I want the base damage to be a random number between 5 and 10. Can someone help me or post a wiki link or YT tutorial? I know it's a "noob question" but I actually don't know how to do it.
local LocalDamage = 5 -- Instead of 5 damage I need the damage to be a random number between 5 and 10

3 comments
math.random(5, 10) OR math.random() * 5 + 5
Whats with these questions where you can't answer?
You might have posted an answer soon before, at 200 rep all answering/asking question cooldowns are lifted, so you might just need to wait a bit before answering