i did this test but it just dose not work i am trying to make parts go flying like the roblox explosion but my own it work about to give on it this is my lost hope. also this it one of the test i don't want to do it all by CFrame because i think that will make the sever lag all those parts flying and spinning. btw i am posting this again

 script.Parent.MouseClick:Connect(function()
    local m = game.Workspace.Model
    for _,s in  pairs(m:GetChildren()) do

        if s:IsA("BasePart") then
            local p = Instance.new("BodyVelocity",s)
            p.Velocity = Vector3.new(0,.5,0)
            local i = Instance.new("BodyGyro")
            i.MaxTorque = Vector3.new(400000,0,0)
            i.D = 2
            i.P = 6000
            i.Parent = s
            s.Anchored = false
        end

    end
end)

2 comments

0

why dont you just use an explosion

0

well i am trying to make my own i don't like the roblox explosion