Hi my if statement script isnt working any idea on how to fix it?
if script.Parent.Parent.pohi.CustomPhysicalProperties >= PhysicalProperties(1,0,0)
then script.Parent.Smoke.Color=Color3.new()(56, 56, 56)
end
Thanks for your time!
Hi my if statement script isnt working any idea on how to fix it?
if script.Parent.Parent.pohi.CustomPhysicalProperties >= PhysicalProperties(1,0,0)
then script.Parent.Smoke.Color=Color3.new()(56, 56, 56)
end
Thanks for your time!
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
btw the error is Workspace.Laev 2.part.Script:1: attempt to call global 'PhysicalProperties' (a table value)
the PhysicalProperties table doesn't have a metatable with __call, so you have to use the constructor PhysicalProperties.new()