So i made a car chassis with suspension, and it seems like the player was too heavy. So i made a script that lowers every propertie to 0 but CustomPhysicalProperties wont enable. please help
s.ChildAdded:Connect(function(child)
if child.Name == ("SeatWeld") then
isincar = true
child.Part1.Parent.Humanoid.JumpPower = 0
child.C1 = child.C1 * CFrame.Angles(-0.3,0,0)
local e = child.Part1.Parent:GetChildren()
e.CustomPhysicalProperties = true
e.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
end
end)
s.ChildRemoved:Connect(function(child)
if child.Name == ("SeatWeld") then
isincar = false
local e = child.Part1.Parent:GetChildren()
e.CustomPhysicalProperties = false
e.CustomPhysicalProperties = PhysicalProperties.new(0.7,1,0.5,0,0)
end
end)
(there is more of the script, but this is the main part that sets the CPP on.) ty
