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: Humanoid Touching Block

Previous Thread :: Next Thread 
SmileySquidy is not online. SmileySquidy
Joined: 28 Jul 2015
Total Posts: 192
09 Jan 2016 07:48 PM
How can you tell when a Humanoid is touching a block?
Report Abuse
Pletonal is not online. Pletonal
Joined: 14 Feb 2015
Total Posts: 80
09 Jan 2016 08:37 PM
function OnTouched(hit)
if hit.Parent:FindFirstChild(Humanoid) then

--hi--
end
script.Parent:connect(OnTouched)




Maybe that?
Report Abuse
pinballboy7 is not online. pinballboy7
Joined: 12 Mar 2009
Total Posts: 1485
09 Jan 2016 08:43 PM
Humanoids aren't physical objects, they're part of a player or npc. If you want to check if a character/object with a humanoid is touching it, you can do an OnTouched event, then check if the model's children includes a humanoid object.
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