#LUA Script

19 messages · Page 1 of 1 (latest)

chrome yew
#

I've been building a Roblox game using Lua Scripts and we have a problem : when a mouse clicks on +1 REBIRTH we want to update another, the below +1 REBIRTH option IN REAL TIME, not after only clicking on it. (WE ARE BEGINNERS!) We can't find a solution. Help pls. Sry if bad explanation, you can ask questions

#

LUA Script

loud mirage
#

@chrome yew Are there 3 images here with the same picture?

#

Can you explain a bit more about what you mean in REAL TIME?

#

So once someone rebirths, you want to modify the +5 rebirths to require a different amount of clicks?

chrome yew
#

Basically

#

If you have enough clicks to buy the +1 REBIRTH, The +1 REBIRTH updates from 20 to 30 for example, always adding +10

#

So when you have lets say 1 rebirth you need 10 clicks etc.

#

For the +5 REBIRTHS you need 50clicks, if you have 2 rebirths you need 100 clicks and so on

#

When we have enough clicks to buy +1 REBIRTH, it shows "SUCCESS" and afterwards updates the count of the clicks, for example if you bought for 10 clicks +1 REBIRTH to 20 clicks and so on

#

What I want is when a person has 10 clicks for example, he buys the +1 REBIRTH and afterwards I want the +5 REBIRTHS to change from 50 CLICKS to 100 CLICKS. I've tried resetting the script, but doesn't work. It only changes the sum (of the +5 REBIRTHS) when you click on it

loud mirage
#

yeah, im not sure, this is less a Lua question and more a Roblox one

#

im good at lua, just not roblox lua :p

#

there should be a dedicated roblox discord?

chrome yew
#

Could you jump into call? No need voice, just want to show u how it works. Maybe you didn't understand it right

chrome yew
#

Ehh, whatever. Thanks for the help tho ❤️

loud mirage
#

I've played roblox, i know what you're trying to do, just don't know enough roblox studio to help

chrome yew
#

Unfortunate :/