Quantcast

Lava isnt moving

wait(5)

Lib.Script.moveWater(Lib.Map.Intro._Water1, Vector3.new (0, 363.494, 30), 10, true)

Something is wrong in there.

i think it should be only in one direnction and there shouldn’t be 363.494

How do i know that?

i use that scriptline into every of my maps

like how it should be then? 363?

yes or just 494 without 363

K thanks

hmmmm, it still doesnt move

check if the water actually is in intro.

FOUND ERROR
Change to Lib.Map

K
thanks

changed it but i rejoined and it still doesnt rise

You added a space after Vector3.new. Remove the space and it should be working

ok then

still wont rise

no its right

i used that and it works so :man_shrugging:

:thonk:

now at the end it turns to acid and then it rises… whaa???

show the entire string/script you have,

its either this

wait(5)

Lib.Script.moveWater(Lib.Map.Intro._Water1, Vector3.new(0, 363.494, 30), 10, true)

or

wait(5)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 363.494, 30), 10, true)

or the coordinates for the moving (0, 2304, 032 blah) is incorrect.

local mapScript = require(game.ServerScriptService.MapScript)

local btnPress = game.ServerStorage.Bindables.BtnPress

local btnFuncs = {}

btnPress.Event:connect(function(plr, btnNo)

if btnFuncs[btnNo] then

btnFuncs[btnNo](btnNo, plr)

end

end)

–[[btnFuncs[1] = function()

mapScript.setWaterState(script.Parent._Water1, “water”)

end]]

–Don’t modify anything above unless you plan to use button functions.

wait(5)

Lib.Script.moveWater(Lib.Map.Intro._Water1, Vector3.new(0, 363.494, 10), 10, true)

thats the whole script