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: What did I do wrong?

Previous Thread :: Next Thread 
aagg11 is not online. aagg11
Joined: 11 Feb 2010
Total Posts: 487
01 May 2017 05:08 PM
while true do

wait(0.1)
if
script.Parent.Fire.Enabled == true
then do
script.Parent.Parent.LandingGear.Union.CustomPhysicalProperties.Density = 1.3
end
end
end




Report Abuse
Valyrian_Advisor is not online. Valyrian_Advisor
Joined: 13 Apr 2013
Total Posts: 1703
01 May 2017 05:10 PM
After the condition of the if you put just "then" not "then do"
Report Abuse
aagg11 is not online. aagg11
Joined: 11 Feb 2010
Total Posts: 487
01 May 2017 05:12 PM
I tried putting that but it still did not work ;(
Report Abuse
aagg11 is not online. aagg11
Joined: 11 Feb 2010
Total Posts: 487
01 May 2017 05:19 PM
Bump
Report Abuse
Valyrian_Advisor is not online. Valyrian_Advisor
Joined: 13 Apr 2013
Total Posts: 1703
01 May 2017 05:19 PM
What does the output say?
Report Abuse
MisBloxy is not online. MisBloxy
Joined: 13 Sep 2008
Total Posts: 164
01 May 2017 05:33 PM
u need to do it as if u were setting a cframe

while wait(0.1) do
if script.Parent.Fire.Enabled == true then
script.Parent.Parent.LandingGear.Union.CustomPhysicalProperties = PhysicalProperties.new(1.3)
end
end

also, check this out
http://wiki.roblox.com/index.php?title=API:PhysicalProperties


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