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: Detect how many players are touching a block?

Previous Thread :: Next Thread 
ThePixel is not online. ThePixel
Joined: 15 May 2010
Total Posts: 225
23 Oct 2011 09:01 AM
What would be the code for this? How would I do it? Could the block walkthrough (Cancollide off)?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
23 Oct 2011 09:03 AM
Create a value and add 1 to the value if there's a player on the brick and use TouchEned to remove that if the player hops off.
Report Abuse
ThePixel is not online. ThePixel
Joined: 15 May 2010
Total Posts: 225
23 Oct 2011 09:05 AM
Erm... any other ways of doing it?
Report Abuse
ThePixel is not online. ThePixel
Joined: 15 May 2010
Total Posts: 225
23 Oct 2011 09:08 AM
I should probably better rephrase that. Is there a way to detect which players are touching a block?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
23 Oct 2011 09:12 AM
While they are touching it create an objectValue with the player in it, if they stopped; remove it.
Report Abuse
ThePixel is not online. ThePixel
Joined: 15 May 2010
Total Posts: 225
23 Oct 2011 09:14 AM
Okay... I have no clue how I would do that... Anyone mind giving me an example?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
23 Oct 2011 09:15 AM
No no no, no you're going the wrong way, YOU write the code. I gave the hint already and if you can't do that (wich I obviously believe you can't) then you are a noob.
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