generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Creating a Mine (repost)

Previous Thread :: Next Thread 
DJSasuke1963 is not online. DJSasuke1963
Joined: 30 Nov 2012
Total Posts: 1136
15 Jan 2014 06:15 PM
I want to create something that can be mined by a pickaxe, once mind the blocks can be picked up by being clicked Once the block has been clicked it will disappear and it will add 1 to 'Rock' in the leader-board.

My struggle mostly is this

Mine
-Value (Value is = to 30, ths is the mines health)
-MoreBricks

Pickaxe
-Weld Script
-Script(Don't know if it should be local or just script)
-Handle

I have attempted to create it so that the once the pickaxe touches the Mine it displays the mines health then once the tool is activated it takes away a certain amount from the value but... I am having slightly troubles understand how do to such a thing.
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:58 PM
tool MouseButton1Down event(if thats the right event? i dont make tools)
if mouse.Target.Name == w/e
value stuff

Pretty simple. :\ We don't make things for you.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image