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
 

How to check if a player has a certain tool?

Previous Thread :: Next Thread 
ItsWayne is not online. ItsWayne
Joined: 04 Jun 2014
Total Posts: 2957
11 Sep 2016 04:25 PM
How to check if a player has a certain tool in his starterpack and backpack?
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
11 Sep 2016 04:29 PM
With ease


Report Abuse
ItsWayne is not online. ItsWayne
Joined: 04 Jun 2014
Total Posts: 2957
11 Sep 2016 04:30 PM
Very helpful
Report Abuse
CodeBreadpudding is not online. CodeBreadpudding
Joined: 24 Aug 2016
Total Posts: 1286
11 Sep 2016 04:36 PM
The tool is always in one of two places:

A. The player's backpack
B. The player's character
C. The workspace

The tool will be in the character if it is equipped, otherwise it's in the backpack. There is also a chance that it has been dropped which in this case means it's in the workspace.
Report Abuse
CodeBreadpudding is not online. CodeBreadpudding
Joined: 24 Aug 2016
Total Posts: 1286
11 Sep 2016 04:37 PM
One of three places* I can't English today.
Report Abuse
Repsej112 is not online. Repsej112
Joined: 22 Jan 2013
Total Posts: 205
11 Sep 2016 04:51 PM
local player = game.Players.playerName
if player.Character:FindFirstChild("nameoftool") or player.Backpack:FindFirstChild("nameoftool") then
print(player.name.." has tool")
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