Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local density = 0
- local friction = 0.1
- local elasticity = 1
- local frictionWeight = 0
- local elasticityWeight = 100000000000000000000
- local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CustomPhysicalProperties = physProperties
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement