Ad
Log in to vote
0

Make lava rise when a text button is clicked and then reset when people are killed/dead?

Asked by 20 days ago

So, I don’t really know how to script. I am making a floor is lava game and I have the scripting for it (like make lava rise and kill you) but when the game starts, the lava just instantly rises and doesn’t reset. Does anyone know how to make the lava start to rise when a test button is clicked and then if everyone in that curtain map is dead, reset the lava? And, I am trying to learn how to script. What’s the best way to learn? Thanks!

1 answer

Log in to vote
0
Answered by 18 days ago
Edited 18 days ago

This is not a request site, this is for helping with code that doesn't work. Please show us the code you need help with and we will try our best to help. On another note, just use a click detector and use a function on its click to check if the amount of living players is 0. If it is. just set lava to whatever position there is. Everything I have listed above is easily referancable in other roblox API articles and is relatively simple. I know you can figure it out! To learn how to script more and more, simply think of a simple idea or function you want to add to a game or test out, and start by forming a process and looking up questions you have. There is an answer to almost everything.

Ad

Answer this question