Fix my script 2

:pensive: i dont know why it don’t work
local Lib = workspace.Multiplayer.GetMapVals:Invoke()

Lib.Button:connect(function(p, bNo) if Lib.btnFuncs[bNo] then Lib.btnFuncs[bNo](bNo, p) end end)

btnFuncs[2] = function()

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, -11, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, -11, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, -11, 0), .5, true)

end

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 1, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 1, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 1, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(2)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(2)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(2)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(2)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(2)

Lib.Script.moveWater(Lib.Map.Dart, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

wait(1)

Lib.Script.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), .5, true)

Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), .5, true)

Lib.btnFuncs[2] = function

1 Like

it doesn’t work

Make sure this is EventString you’re putting this in

what is _2?

Should be an object

What here doing “.”?

he’s probably doing 0.5

Possible this is why script dont wok

I TRIED but it still doesn’t work

.5 is possible for 0.5

that’s _1 and _2 and _Water1

Technological Destruction and textured mesh water

still am confused lol

i want the script to be fixed

ofc ik bruh lolll

Lib.Script
Isn’t it supposed to be Lib.Map?

local Lib = workspace.Multiplayer.GetMapVals:Invoke() --Has: Map, Script, Button, btnFuncs

Lib.Button:connect(function(p, bNo) if Lib.btnFuncs[bNo] then Lib.btnFuncs[bNo](bNo, p) end end)

btnFuncs[2] = function()

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, -11, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, -11, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, -11, 0), 0.5, true)

end

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 1, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 1, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 1, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(2)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(2)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(2)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(2)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(2)

Lib.Map.moveWater(Lib.Map.Dart, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)

wait(1)

Lib.Map.moveWater(Lib.Map._1, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._2, Vector3.new(0, 5, 0), 0.5, true)

Lib.Map.moveWater(Lib.Map._Water1, Vector3.new(0, 5, 0), 0.5, true)
still doesn’t work

aaaaaa
this is weird now AAAAAAAAAA