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 check if a brick has fallen?

Previous Thread :: Next Thread 
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
03 Jan 2015 04:53 PM
I am making a bowling game, and I need to check if a pin has fallen,
what I currently am trying is like


script.Parent.Touched:connect(function()
wait()
if script.Parent.CFrame.Angles == CFrame.new() or --and then I would continue, I tried this and it didn't work can someone give me a suggestion?
Report Abuse
goro7 is not online. goro7
Joined: 01 Jul 2009
Total Posts: 735
03 Jan 2015 05:05 PM
Weld an invisible brick to the top of the pin. Then put an onTouched script in it so when that part touches the ground (aka the pin fell over), it would detect it.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
03 Jan 2015 05:07 PM
Just check if its y position isn't exactly what it was before
Report Abuse
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
03 Jan 2015 05:20 PM
Ill try yours 128
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
03 Jan 2015 05:38 PM
codepad
/hH5t65de
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
03 Jan 2015 05:44 PM
https://www.youtube.com/watch?v=dI7TSrFga7c
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