Scripting help!

you tell me the script ill tell you how to make it

1 Like

How do I make a random number within, for example, five and ten? I want a weapon to do random damage within those limits.

1 Like

ok
go to set attribute of health as health minus random number from limits 5 to 10

1 Like

Another question… how do I make a “life drain” (When the unit uses the item, the unit gains 10 health and the last attacked unit loses ten health)?

1 Like

oh do 2 scripts. get a variable to tell damage then have your hp go up by the variable In one script and theirs go down by damage in the other or you can have set amounts
idk

1 Like

How do i increase the Max Value of an Antribute, for example the Health