Advertisement
TheUnknownDiscord

Untitled

Sep 28th, 2021 (edited)
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local density = 0
  2. local friction = 0.1
  3. local elasticity = 1
  4. local frictionWeight = 0
  5. local elasticityWeight = 100000000000000000000
  6. local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
  7. for i,v in pairs(owner.Character:GetDescendants()) do
  8. if v:IsA("BasePart") then
  9. v.CustomPhysicalProperties = physProperties
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement