Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Mag Drop on reload?

Asked by 5 years ago
Edited 5 years ago

Hello. I was wondering if any one could help me with this

How do you make your magazine drop from your gun when you prees a key?

(basically just how do you make a part from a tool unanchored when you prees a key and then make it reappear in the same spot as before within a time limit?

reloadRemote:FireServer()

    if reloadTrack then
        reloadTrack:Play()
        local Mag = game.ReplicatedStorage.Gunstuff:FindFirstChild('GlockMag'):Clone()
        script.Parent.Parent.Mag.Transparency = 1
        Mag.Position = script.Parent.Parent.MD.Position
        Mag.Parent = game.Workspace
    end
end

end

0
try welds? Donut792 216 — 5y
0
I can't see why it wouldn't work, as long as the old mag is unanchored and has no welds. CodyDev 70 — 5y

Answer this question