answersLogoWhite

0

Simple (For me).

Here put this in the brick:

script.Parent.Touched:connect(function(p)

if p.Parent:FindFirstChild("Humanoid") then

p.Parent.Humanoid.Health = 0

end

end)

Distance = 20

TimeToRise = 60

TimeForRegen = 30

Interval = 15

Waited = 0

while true do

wait()

script.Parent.CFrame = script.Parent.CFrame +Vector3.new(0,(TimeToRise/Distance),0)

Waited = Waited + (wait())

if Waited >= TimeToRise then

script.Parent.CFrame = script.Parent.CFrame +Vector3.new(0,-20,0)

wait(Interval)

Waited = 0

end

end

That SHOULD work.

User Avatar

JAKE BOI

Lvl 2
4y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
More answers

Put a script into it...

User Avatar

Wiki User

13y ago
User Avatar
User Avatar

JAKE BOI

Lvl 1
4y ago
...

Add your answer:

Earn +20 pts
Q: How do you make rising lava on roblox?
Write your answer...
Submit
Still have questions?
magnify glass
imp