Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables This Is Inside Of Module Script --
- local NameOfYourEventDisaster = {} -- Ex RisingLava Name
- local currentEvent = game.Workspace.CurrentEvent -- Make sure you have a folder & rename it to CurrentEvent To Called The Game Files Inside Of It
- NameOfYourDisaster.NameOfYourDisasterEvent = function() -- Ex RisingLava.risingLavaEvent make sure you delete the () to not break the script
- local wall = workspace.Map.Walls.Wall2 -- make sure you have a folder name map & inside of it have Name Folder Walls Then Inside Of Walls There's a part name wall2
- wall.Anchored = true -- to make the wall2 can collide off so the player can cross the barrier of the game or in obby whatever you make
- local risingLavaFolder = game.ServerStorage.RisingLava:Clone() -- This Will Clone The Folder Name File Inside of the serverstorage
- risingLavaFolder.Parent = currentEvent -- this will go to the Name file Folder Of Your Disaster & Go To workspace inside of currentEvent Folder
- end -- end of the script
- return RisingLava -- End Of Script that will return to server game file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement