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
 

Why does this script break the camera?

Previous Thread :: Next Thread 
jatl8 is not online. jatl8
Joined: 07 Aug 2009
Total Posts: 17439
05 Dec 2013 09:08 PM
Once the player jumps and leaves the seat the model is supposed to dissapear. It dissapears but the camera breaks. ANy help?




function add(p)
script.Parent.ChildRemoved:connect(function()
script.Parent.Parent:remove()
end)
end

script.Parent.ChildAdded:connect(add)
Report Abuse
jatl8 is not online. jatl8
Joined: 07 Aug 2009
Total Posts: 17439
05 Dec 2013 09:11 PM
It works but it breaks the camera.
Report Abuse
jatl8 is not online. jatl8
Joined: 07 Aug 2009
Total Posts: 17439
05 Dec 2013 09:13 PM
Or any camfix problem?
Report Abuse
BetterBe is not online. BetterBe
Joined: 25 Jan 2009
Total Posts: 1034
05 Dec 2013 09:14 PM
you can try adding a wait(2) before removing the object.
Report Abuse
adammthomas2000 is not online. adammthomas2000
Joined: 24 Feb 2013
Total Posts: 454
05 Dec 2013 09:15 PM
Hmm... are there any scripts in the model? Disable them all before removing it.
Report Abuse
jatl8 is not online. jatl8
Joined: 07 Aug 2009
Total Posts: 17439
05 Dec 2013 09:15 PM
Thank you that solved it! :D
Report Abuse
jatl8 is not online. jatl8
Joined: 07 Aug 2009
Total Posts: 17439
05 Dec 2013 09:16 PM
@Better

Thank you it worked! :D
Report Abuse
BetterBe is not online. BetterBe
Joined: 25 Jan 2009
Total Posts: 1034
05 Dec 2013 09:21 PM
you'rrrrrrrrre welcome!
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