Flood Adventure, Map Creation

Flood Adventure, Map Creation:

IMPORTANT EDIT:
ButtonStrings, For Example, _Fall and Event String Now work

Original Post:

Post

EventString
THIS NOW WORKS
Not Working/Forbidden:

ExitBlock
–does not work(FOR NOW)

EventScript:
BtnFuncs,

local btnFuncs = game.ReplicatedStorage.BtnFuncs

btnFuncs.Event:Connect(function(btnNum)
	if btnNum == --number of button you want to be pressed then 
		--stuff when btn was pressed
	end
end)

moveWater:

local mapScript = require(game.ServerScriptService.MapScript)

mapScript.moveWater(--water to be moved, Vector3.new(X, Y, Z), 3, true)

How I do it:
XYZ - XYZ

setWaterState:

local mapScript = require(game.ServerScriptService.MapScript)

mapScript.setWaterState(water, state)

Buttons:
To have them work properly they must be a model, must have a name called: “_Button”, must have a part in it called: "Light"

I also recommend you put at the 1st line of your eventscript:

game.ReplicatedStorage.MapIsLoaded.Event:Wait()

what this does is, it waits for the map to be loaded then executes the commands after it

How to test it:
If you want to test your map, group it as a model and upload it to Roblox as a model,
copy its id, allow copying,

go to Flood Adventure Open Maps - Roblox, click the “>_” icon then enter the asset id of what you uploaded, and click Queue Map.

You can also click the “>_” icon to close it

Map Kit: