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
 

Would this work?

Previous Thread :: Next Thread 
14Letters3Numbers is not online. 14Letters3Numbers
Joined: 20 Jan 2013
Total Posts: 905
15 Oct 2013 10:03 AM
gui2 = script.Parent.Parent.Parent.Frame:WaitForChild("Beamer").Beam

Like, it waits for Beamer to be a part in Frame so it works.
Report Abuse
Trapper4O77 is not online. Trapper4O77
Joined: 03 Aug 2011
Total Posts: 5648
15 Oct 2013 10:05 AM
Ywah.
Report Abuse
14Letters3Numbers is not online. 14Letters3Numbers
Joined: 20 Jan 2013
Total Posts: 905
15 Oct 2013 10:13 AM
The long script from:

http://wiki.roblox.com/index.php/Collision_detection_for_GUI%27s

But I changed gui1 and gui2

Why doesn't this work? (gui2 tweens into gui1)

gui1 = script.Parent
gui2 = script.Parent.Parent.Parent.Frame:WaitForChild("Beamer").Beam
Report Abuse
14Letters3Numbers is not online. 14Letters3Numbers
Joined: 20 Jan 2013
Total Posts: 905
15 Oct 2013 10:43 AM
I really need help with gui collisions.
Report Abuse
getkoed is not online. getkoed
Joined: 18 Feb 2010
Total Posts: 2298
15 Oct 2013 10:47 AM
Try changing it to findFirstChild.
Report Abuse
14Letters3Numbers is not online. 14Letters3Numbers
Joined: 20 Jan 2013
Total Posts: 905
15 Oct 2013 10:52 AM
Still doesn't work:

16:51:08.465 - Players.Player1.PlayerGui.space.Game.Enemies.enemy.collide:2: attempt to index a nil value
16:51:08.466 - Script 'Players.Player1.PlayerGui.space.Game.Enemies.enemy.collide', Line 2
16:51:08.466 - stack end
Report Abuse
getkoed is not online. getkoed
Joined: 18 Feb 2010
Total Posts: 2298
15 Oct 2013 10:53 AM
Then you got the parents wrong or Beam doesn't exist in Beamer.
Report Abuse
14Letters3Numbers is not online. 14Letters3Numbers
Joined: 20 Jan 2013
Total Posts: 905
15 Oct 2013 10:54 AM
Psh. The Parents are right, and beam does go into Beamer. It's just that Beamer is cloned into Frame, thats why I need it too wait. Also I don't think I done the collision script correctly.
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