I want to edit the CustomPhysicalProperties of the character when the player joins, but I need to enable it first, and I can't find the way to without using a custom character. Edit: sorry i meant i wanted to print the density
script.Parent.CustomPhysicalProperties = true script.Parent.CustomPhysicalProperties.Enabled = true script.Parent.CustomPhysicalProperties.Disabled = false script.Parent.CustomPhysicalProperties.Value = true
You must provide a PhysicalProperties type value as seen in the wiki page:
local part = script.Parent -- The properties to set -- This will make the part light and bouncy! local density = .3 local friction = .1 local elasticity = 1 local frictionWeight = 1 local elasticityWeight = 1 -- Construct new PhysicalProperties and set local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight) part.CustomPhysicalProperties = physProperties