Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Part = Instance.new("Part")
- Part.BottomSurface = Enum.SurfaceType.Smooth
- Part.CFrame = CFrame.new(5.5, 3, -23.5)
- Part.Size = Vector3.new(2, 6, 4)
- Part.TopSurface = Enum.SurfaceType.Smooth
- Part.Parent = game:GetService("Workspace").Model
- local Attachment0 = Instance.new("Attachment")
- Attachment0.Axis = Vector3.new(0, 0, 1)
- Attachment0.Name = "Attachment0"
- Attachment0.Orientation = Vector3.new(0, -90, 0)
- Attachment0.Position = Vector3.new(0, 2, 2)
- Attachment0.Parent = Part
- local SpringConstraint = Instance.new("SpringConstraint")
- SpringConstraint.Attachment0 = Attachment0
- SpringConstraint.Damping = 2
- SpringConstraint.FreeLength = 0.1
- SpringConstraint.Stiffness = 1000
- SpringConstraint.Visible = true
- SpringConstraint.Parent = Part
- local Attachment1 = Instance.new("Attachment")
- Attachment1.Axis = Vector3.new(0, 0, -1)
- Attachment1.Name = "Attachment1"
- Attachment1.Orientation = Vector3.new(-90, 90, 0)
- Attachment1.Position = Vector3.new(0, 2, -2)
- Attachment1.SecondaryAxis = Vector3.new(-1, 0, 0)
- Attachment1.Parent = Part
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement