#I need help, this LinearVelocity won't work

1 messages · Page 1 of 1 (latest)

dusky furnace
#

local Folder = game.ReplicatedStorage:WaitForChild("MagmaRocks")

for _,model in pairs(Folder:GetChildren()) do
if model:IsA("Model") then
local ModelClone = model:Clone()
local attachment = Instance.new("Attachment")
local attachment2 = Instance.new("Attachment")
local LinearVelocity = Instance.new("LinearVelocity")
LinearVelocity.MaxForce = 100
LinearVelocity.VectorVelocity = Vector3.new(math.random(-1000,1000),math.random(1500,3000),math.random(-1000,1000))
LinearVelocity.Parent = attachment
attachment.Parent = ModelClone.PrimaryPart
ModelClone.Parent = workspace
ModelClone:PivotTo(CFrame.new(-1049.2, 240.934, -3572.3))
LinearVelocity.Attachment0 = attachment
LinearVelocity.Attachment1 = attachment2
end
end

#

No errors. When the models clone to workspace they have the LinearVelocity in em with the velocity applied but no fling and yes they are anchored.

#

I also have a weld constraint

dusky furnace
#

Groups

#

I don’t see a config