Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can It so when I hit a certain amount of strength different values get increased?

So I am making a simulator game but I do not know how to make it so when you get a certain amount of Strength different values increase

The values I am trying to make increase is Damage and health.

At the same time I also don't have a level system...

Anyone got any tutorials or examples I can use?

1 comment

0

There're not much tutorials that I know of that do this exact thing you're asking for. I should be able to help you do some stuff but it would be easier communicating on discord. If you can, add me on discord: LoxiGoose#9553.

1 answer

✓ Accepted answer

We can make the script listen for changes in the Strength using Changed or GetPropertyChangedSignal

Strength:GetPropertyChangedSignal("Value"):Connect(function() -- This is assuming it's an intVal or NumberVal
	if Strength.Value >= 100 then
		Health.Value = (Health.Value * 1.8)
	end
end)

Then you can mess around with this script, modifying it, etc.

5 comments

0

good explanation!...However, I feel like you didn't properly explain that if it checks for the value being over 100 every time it's over 100 it will just keep multiplying...

0

Yea, I forgot to address that.

0

what im hoping for is that the script doubles the strength you earn whenever you click and the health and damage

0

the only problem is, that i dont have a damage nor a health script and the damage script was just a script i took off of the roblox sword in free models

0

btw, I was wondering if i could get into direct contact with you if u wanted to help out with the game? The game just needs 3 more scripts to be released, i understand if you dont got time or just dont want to do it. if you do make up your mind message me on discord - agikmanV2#0836

This discussion is preserved as it was. New answers, comments, and votes are closed.