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
 

Re: Placing and breaking!

Previous Thread :: Next Thread 
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
26 Mar 2014 03:13 PM
I make the best title names ever... not :(

Well okay I'm trying to make a place blocks script (Only one time of block needed to be placed for now and I already have that block), I need to make it so people can't place this block more than 3 blocks away(Do I use magnitude for this?) and I don't want people to be able to move,or resize this block once it's been placed I just want people to be able to place blocks, oh and because this is kind of a sandbox and my dimensions are 4,3,4 starting from 0, 0 , 0 I was wondering if it's possible to make it so the blocks are in line with the other blocks. You are all probably looking at me right now saying "What is this guy going on about?" haha, I mean like you know "Minecraft" where they have it so you place a block and it's on top of the other block and not outside with the other blocks? well, like that :)


Okay well. Along with the building, I need to make a shovel (I'll make one tomorrow) that breaks blocks (takes 1.3 seconds to break a block and you have to be holding the mouse down, you can't just click it and it vanishes in 1.3 seconds :P)
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
27 Mar 2014 02:12 AM
bump le bump
Report Abuse
FreeScriptMaker is not online. FreeScriptMaker
Joined: 29 Nov 2013
Total Posts: 2275
27 Mar 2014 02:13 AM
No requests.
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
27 Mar 2014 02:20 AM
Well, It's more of a request and help from it.
I just need help making it work, I'm not that very good of a scripter but yes, I will still try to learn it. After I've made the shovel and the placing blocks model (Done the block model) then I need to do this and I kind of need help from it since you can't just learn how to script within 1-2 days it takes months. Well at least it took me around 3-4 months to learn this other programming language ;/

If I can't make a request could I send scripts here and you help me configure it right then?
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
27 Mar 2014 02:22 AM
Is it possible to make it so you can only place blocks where you click and you have to be within 3 blocks away from it (around 12, 9, 12 is 3 blocks) and there's a delay of about 0.3 seconds so people don't spam it?
I'm just wondering because I've only seen "move" tools on other games
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
28 Mar 2014 02:18 PM
Okay, I have done almost all of it but how do I make the blocks like how you clone them, they go on top of the block.
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
28 Mar 2014 02:21 PM
clonedBlock.Position = originalBlock.Position
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
29 Mar 2014 06:27 AM
Here's what I have so far

http://pastebin.com/0yLbSyPD

It has a selection to where you want to place your block but it doesn't have range because I'm not quite sure how you do that, I'm pretty sure you use magnitude to get how far away something is right?

But with that people can place the block anywhere which I don't like I need it to be like cloned.

Edit: Didn't see the reply! clonedBlock.Position = originalBlock.Position
Where would I put that in the code? shall I remove most of the code because selection would be pointless to have in there?
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
29 Mar 2014 06:43 AM
I mean, that's a variable so I'll put it at the top with the rest of the variables but where shall I put the originalBlock.Position
Report Abuse
kingstarwest is not online. kingstarwest
Joined: 15 Aug 2010
Total Posts: 1156
02 Apr 2014 01:19 AM
b
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