function shoot()
local ammo = script.Parent.Parent.Dart:GetAttributes()
local explode = Instance.new("Explosion")
explode.Parent = game.Workspace
explode.Position = script.Parent.Position
explode.BlastPressure = 300000
explode.DestroyJointRadiusPercent = 0
local reset = Instance.new("Part")
end
I am not really having any problems with the parent or anything, I am just trying to understand how I would apply ammo (a set of attributes) to reset (a new part)
is there a “:GiveAttributes” function or something