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.
Chat with our AI personalities
Make a humanoid, insert a follow script, then insert a lava script.
Insert/Object/Part. game.Workspace.part Find the part and Insert a Script.
U make a roblox with cheeze
Make it fun, lava, people, climbing things, spawns you can change the colour in the properties, make everyone not to spawn on random ones, and make them that you can stand on them, obbys don't always have to need to be scripted.
Its really simple. The bricks you might need the most are regular and lava...