Let me get straight into the point, how do i check how much i need to add to a certain number? For example, i have 90 how will i detect how much i need to add for it to be 100?

you simply do

100 - 90

there you got 10, very very simple

2 Likes

I was about to ask what if the number changed but nvm i figured it out

Thanks for giving me the idea tho!!

```
local number = 90
local add = 10
local yourOutput = number + add
print(yourOutput)
```

no they wanted to figure out how to find that variable add

which is why I told them 100 - 90 = 10