local spawnpoint = script.Parent.TargetPart local cooldown = false script.Parent.Activated:Connect(function() if cooldown == false then cooldown = true local clone = game.ServerStorage.FinishedWeapons.Lvl1lazer.Ammo:Clone() local cf = spawnpoint.CFrame clone:SetPrimaryPartCFrame(cf) clone.Parent = game.Workspace wait(1) cooldown = false end end)
If the script is a localScript, then you'll need to move the object from ServerStorage to ReplicatedStorage, you can't access ServerStorage from the client.