--[[
  ___            __   _           _   _              __  __   _           _                 
 |_ _|  _ __    / _| (_)  _ __   (_) | |_    ___    |  \/  | (_)  _ __   (_)  _ __     __ _ 
  | |  | '_ \  | |_  | | | '_ \  | | | __|  / _ \   | |\/| | | | | '_ \  | | | '_ \   / _` |
  | |  | | | | |  _| | | | | | | | | | |_  |  __/   | |  | | | | | | | | | | | | | | | (_| |
 |___| |_| |_| |_|   |_| |_| |_| |_|  \__|  \___|   |_|  |_| |_| |_| |_| |_| |_| |_|  \__, |
   ____                                _  __  _   _   
  / ___|   __ _   _ __ ___     ___    | |/ / (_) | |_ 
 | |  _   / _` | | '_ ` _ \   / _ \   | ' /  | | | __|
 | |_| | | (_| | | | | | | | |  __/   | . \  | | | |_ 
  \____|  \__,_| |_| |_| |_|  \___|   |_|\_\ |_|  \__|
                                                                                                                                            |___/ 
 ____  _  _    ____  ____  ____  ____  ____    __      __   
(  _ \( \/ )  (  _ \( ___)(  _ \( ___)(_   )  /__\    /__\  
 ) _ < \  /    ) _ < )__)  )   / )__)  / /_  /(__)\  /(__)\ 
(____/ (__)   (____/(____)(_)\_)(____)(____)(__)(__)(__)(__) V4

 Based on the popular mining game Azure Mines
 https://www.roblox.com/games/428114181/Azure-Mines/

 GUIDED VIDEO TUTORIAL: 🎥 youtube.com/watch?v=_wBfwupqmt8 
 ^ (Made for v2. The command step is slightly different. If you need help, check
    the description of the video for resources. Make sure you read and follow the
    set-up instructions below very carefully.)

 Contained within this kit is everything you need to set up a fully-functional infinite
 mining game within minutes. Follow these instructions and you'll be set to go in no time!
 Watch out for new versions of the kit and join our Infinite Mining Games community for
 announcements, news, help, and to share your creations.

 If you enjoy the kit please consider leaving a 👍 Thumbs Up and ⭐ Favorite the model
 to help others find it. If you are a developer, please consider releasing your own old
 projects to the public domain as kits. It could make an enormous impact on the life of
 a young creator who discovers it.

 https://www.roblox.com/library/4920625917/Infinite-Mining-Game-Kit-by-berezaa

 SET-UP INSTRUCTIONS

 STEP #1:

	 The Infinite Mining Game Kit expects everything to be at a certain position. Enter the
	 following command in your "Run a command" output at the bottom of Roblox Studio:

	 -->	
		 workspace["Infinite Mining Game Kit v4 by berezaa"]:SetPrimaryPartCFrame(
		 CFrame.new(86.3270645, 5013.8042, 74.279068, -0.258819073, 0, 0.965925813, 
		 0, 1, 0, -0.965925813, 0, -0.258819073))
	
	 You'll notice that everything is now gone. Point your camera directly upwards and you'll
	 see the map. You can fly your camera towards it or teleport there directly using the command:
	
	 -->
		 workspace.CurrentCamera.CFrame = CFrame.new(85, 5030, 75)
	
 STEP #2:

	At this point, everything is positioned where it will be in the real game and all of the
	ores and building components are laid out in the workspace. You may want to save a copy
	of the place so you can easily edit the ores and building components before setting up
	the game with the following steps.
	
 STEP #3:

	Re-parent the contents of each folder into the game service of the same name.
	
	For example, open the kit, right-click the folder named ReplicatedStorage and 
	"Select Children". Then right-click again and "Cut". Find the real ReplicatedStorage
	service in your Explorer, right-click and "Paste Into" 	

	Be careful with the Workspace folder, as using "Cut" and "Paste Into" may cause
	the parts to be re-positioned, which will break things. Instead, right-click the
	Workspace folder and "Select Children". Then use your mouse to drag all of the
	selected children into the real workspace (Planet earth icon). This should prevent
	anything from being automatically displaced by Roblox. It may be a good idea to
	do the Workspace folder last.
			
	NOTE: For the StarterPlayer folder, you will need to follow the instructions above
	for both of the StarterPlayerScripts and StarterCharacterScripts folders individually.
	Roblox has special folders for this, so make sure you are moving the contents from
	those folders into the correct Roblox folders. If the game is stuck on a dark screen
	when you are trying to play, messing up this step is the most common reason why.
	


 STEP #4:

	Make sure your game is published. Go to "File -> Publish to Roblox" to confirm. If the 
	option is greyed out that means you are not published. Use "File -> Publish to Roblox as"
	to create a new place for your mining game.
	
	Next go to "Home -> Game Settings -> Options" and turn on "Enable Studio Access to API
	Services." You may also go to "Game Settings -> Avatar" and set "Avatar Type" to "R6"
	and "Collision" to "Inner Box". You should know that changing the avatar settings is
	not required for the kit to work, but the kit is designed with classic avatars in mind.

    NOTE: If you are not able to test in Studio, you may need to visit the "Create" tab on
	the Roblox website and go to "Game Settings" of the new game you have created. Once you
	are there, toggle the "Allow studio access to API" setting. Also note that "game settings"
	are different from "place settings".
	
	Finally, "File -> Publish to Roblox" one more time.

 And you're done! Go to "Test -> Play" to try out the game in Roblox Studio, or go to
 the Roblox website and play your game there. If you have any questions, feel free to PM 
 berezaa on Roblox. Please follow me @berezaagames for dev content

 Once you've made sure everything works, you can extend the functionality of the game by
 adding new levels of base machines, new pickaxes, new ores and more without any scripting
 required. Have fun!

 Want to try making a more advanced game? Miner's Haven's full source file is available for 
 use. Get it here: 

 devforum.roblox.com/t/miners-haven-open-sourced/350767                            
    
]]


return "the favor"