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 |
|
|
|
| 01 May 2017 05:10 PM |
| After the condition of the if you put just "then" not "then do" |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 11 Feb 2010 |
| Total Posts: 487 |
|
| |
|
| |
|
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 |
|
|