Hi I’m in big need of help (my script broke… WHAT1??!)
Ok this is the script, if you can please tell me what’s wrong
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)
Lib.btnFuncs[5] = function()
wait(4)
Lib.Script.moveWater(Lib.Map._Water5, Vector3.new(0, -30, 0), 10, true)
Lib.Script.moveWater(Lib.Map._Water4, Vector3.new(0, -80, 0), 10, true)
Lib.btnFuncs[5] = function()
wait(2)
Lib.Script.moveWater(Lib.Map._Water5, Vector3.new(0, 30, 0), 10, true)
Lib.Script.moveWater(Lib.Map._Water4, Vector3.new(0, 80, 0), 30, true)
wait(5)
Lib.Script.setWaterState(Lib.Map._Water1, “acid”)
wait(3)
Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 6, 0), 10, true)
wait(6)
Lib.Script.moveWater(Lib.Map._Water1, Vector3.new(0, 45, 0), 40, true)
wait(6)
Lib.Script.moveWater(Lib.Map._Water2, Vector3.new(0, 50, 0), 40, true)
wait(3)
Lib.Script.moveWater(Lib.Map._Water3, Vector3.new(0, 30, 0), 10, true)
wait(4)
Lib.Script.moveWater(Lib.Map._Water4, Vector3.new(0, 60, 0), 30, true)
wait(4)
Lib.Script.moveWater(Lib.Map._Water5, Vector3.new(0, 30, 0), 30, true)