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: Metal Detector Tool

Previous Thread :: Next Thread 
jwhowaard is not online. jwhowaard
Joined: 10 Dec 2013
Total Posts: 49
21 Sep 2015 09:24 PM
How would I make a tool that would detect the material "metal".
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:49 PM
Get out
Report Abuse
jwhowaard is not online. jwhowaard
Joined: 10 Dec 2013
Total Posts: 49
21 Sep 2015 09:56 PM
Why is everyone so rude in the forums? I was just asking, god.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:56 PM
Use the wiki and learn

This isnt a request fourm
Report Abuse
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
21 Sep 2015 09:58 PM
Put this script into the Metal Detecting Part;

while true do
metals = {game.Workspace.PARTNAME, game.Workspace.PARTNAME}
for i = 1,#metals do
if (i.Position - script.Parent.Position).magnitude <= 2 then
gui = Instance.new("ScreenGui", script.Parent.Parent.Parent.PlayerGui)
label = Instance.new("TextLabel", gui)
label.Size = UDim2.new(0.2,0,0.2,0)
label.Position = UDim2.new(0.25,0,0.25,0)
label.BackgroundTransparency = 1
label.Text = "Metal Detected! It is within 2 studs of you!"
wait(3)
label:Destroy()
end
end
end
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:59 PM
Omg lil stop giving the idiots free stuff
Report Abuse
jwhowaard is not online. jwhowaard
Joined: 10 Dec 2013
Total Posts: 49
21 Sep 2015 10:00 PM
If you'd actually read my post, I wasn't requesting anything to be built for me.
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Sep 2015 10:03 PM
I think you could use Raycasting to find out what is below the Metal Detector? I'm not certain if that's the most efficient way, but it would definitely suffice.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 10:03 PM
Like i sqid

Idioits
Report Abuse
jwhowaard is not online. jwhowaard
Joined: 10 Dec 2013
Total Posts: 49
21 Sep 2015 10:05 PM
You're calling us idiots, when you don't even know how to spell properly.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 10:06 PM
Typing on a tablet neebag
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Sep 2015 10:07 PM
JWho. If you need a summary of how to use RayCasting, you can look here.


http://wiki.roblox.com/index.php?title=Raycasting

You can use it to detect an object below you and check what material it is.
Report Abuse
jwhowaard is not online. jwhowaard
Joined: 10 Dec 2013
Total Posts: 49
21 Sep 2015 10:17 PM
The buttons in the screen should be big enough to not misspell a word, it may be hard if your chubby, though.
Report Abuse
jwhowaard is not online. jwhowaard
Joined: 10 Dec 2013
Total Posts: 49
21 Sep 2015 10:23 PM
@LilMcManiac;

It doesn't seem to work like that, is there any other way?
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Sep 2015 10:24 PM
@OP. Man, if only some one had given you a good option twice. :(
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