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 » Scripters
Home Search
 

Re: How would I change a tools usage distance?

Previous Thread :: Next Thread 
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 08:34 PM
Example; Adding terrain blocks anywhere on map from 1 position.

Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 08:57 PM
I want to limit how far the player will be able to use the tool to put terrain down.

Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
17 Jan 2017 08:59 PM
magnitude

if (hit.p - torso.cframe.p).magnitude < 20 then


Report Abuse
LuluPls is not online. LuluPls
Joined: 23 Aug 2010
Total Posts: 1221
17 Jan 2017 08:59 PM
magnitude


R$0
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 09:25 PM
function onClicked(mouse)
if on then
p = game.Players.LocalPlayer

if (p == nil) then return end
if (p.Character == nil) then return end
if (mouse.hit.p - torso.cframe.p).magnitude < 20 then



qq

Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 09:30 PM
Uh, 150 robux if someone could fix for me? qq

Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
17 Jan 2017 09:38 PM
function onClicked(mouse)
if on then
p = game.Players.LocalPlayer

if (p == nil) then return end
if (p.Character == nil) then return end
if (mouse.hit.p - torso.cframe.p).magnitude <= 20 then
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 10:05 PM
Still getting the error: "Attempt to index the global 'torso' (a nil value)"

Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
17 Jan 2017 10:07 PM
pay 1e2e3e5e77e99999e8e9e89e8e98e98e79e87e987e987e9e79e798e798e79e79e879e89 robuxs


#code self = nil
Report Abuse
all_Jet is not online. all_Jet
Joined: 20 Nov 2010
Total Posts: 84
17 Jan 2017 10:08 PM
I was wondering if anyone can figure this out? I was wondering myself..
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 10:09 PM
i will legit pay someone if they figure this out lol

200R$

Report Abuse
Quasar99 is not online. Quasar99
Joined: 21 Nov 2009
Total Posts: 9328
17 Jan 2017 10:09 PM
"Still getting the error: "Attempt to index the global 'torso' (a nil value)""
use your brain here instead of just begging for help dude this isnt some magic wizard error thats impossible to figure out
if its saying the global 'torso' is nil check that its actually defined and you're not trying to access the wrong thing
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 10:15 PM
I'm not begging, I'm asking for help because I am not the best at scripting. I mean if you were so smart you'd help and receive the robux. Most people on here don't even bother offering a payment, jesus..

Report Abuse
Quasar99 is not online. Quasar99
Joined: 21 Nov 2009
Total Posts: 9328
17 Jan 2017 10:17 PM
and im telling you that this is a really simple error
if you truly want to be better at scripting then start learning how to fix this stuff on your own instead of having to pay 200 robux for something that an amateur could fix in 5 seconds
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
17 Jan 2017 10:22 PM
You should do it then man! Because apparently an amateur can do it, right?

Report Abuse
LuluPls is not online. LuluPls
Joined: 23 Aug 2010
Total Posts: 1221
19 Jan 2017 07:35 PM
Yes, quasar is right. The error is very simple to understand. However I won't tell you how to fix it because it doesn't take much to learn it on your own, so stop wasting our time.


R$0
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
19 Jan 2017 07:37 PM
I had someone nice enough to help me, it was more then one problem. Thanks for the inconsiderateness of helping me though.

Report Abuse
LuluPls is not online. LuluPls
Joined: 23 Aug 2010
Total Posts: 1221
19 Jan 2017 08:40 PM
And you call yourself a dev


R$0
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
19 Jan 2017 08:43 PM
de·vel·op·er
dəˈveləpər/
noun
a person or thing that develops something.
"a property developer"

Yes, I consider myself one due to the fact I've "developed" a few games and helped with many.

What are you?

http://www.roblox.com/Westworld-item?id=525246965
Report Abuse
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
19 Jan 2017 08:50 PM
someone who understands how to properly use magnitude and incorporate it into a script
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
19 Jan 2017 08:51 PM
Good work!

http://www.roblox.com/Westworld-item?id=525246965
Report Abuse
LuluPls is not online. LuluPls
Joined: 23 Aug 2010
Total Posts: 1221
19 Jan 2017 08:52 PM
https://www.roblox.com/games/615722289/Build-Fight-Survive-Alpha#!/game-instances You call that a game? Not even your scripts, those are free models. If you did participate in any game development they probably wanted to ##### ########## working with you, if you can't understand a simple error like that, then I can guarantee you were no help whatsoever. R$0
Report Abuse
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
19 Jan 2017 08:53 PM
Lulu summed up what I was gonna say, but didn't have the courage to
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
19 Jan 2017 08:57 PM
:)

http://www.roblox.com/Westworld-item?id=525246965
Report Abuse
all_Dev is not online. all_Dev
Joined: 16 Dec 2011
Total Posts: 1854
19 Jan 2017 09:09 PM
Also the music and notification gui is by Dummiez, he made it a free-model for everyone to take and use. Same for the guns, except they are made by TurboFusion. In the end, they are there so why not use them to develop a game and earn $? I have no intentions of hiding the fact those few things are free-models. You really need to use your head sometimes and think about the bigger picture. If you haven't noticed by now, the whole purpose of this thread was asking for help (which you clearly did not do). So make it your goal and leave. Whatever you say from here on out is irrelevant to me.



http://www.roblox.com/Westworld-item?id=525246965
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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