I don’t know why but my :AddItem dosen’t work and it dosen’t give me any error
here is my script in a server script:
local Position = Projectile.Position
local Explosion1, Explosion2 = game.ReplicatedStorage.Assets.Prue_Assets.Explosion:Clone(), game.ReplicatedStorage.Assets.Prue_Assets.Floor:Clone()
Explosion1.Position = Position
Explosion2.Position = Position
Projectile:Destroy()
Debris:AddItem(Explosion1, 1.5)
Mm there may be another problem prior, try using prints** before the debris and before a few other things to see if something is halting it. You could also wrap it in a pcall to attempt an error to be thrown. You might have too many moving parts and need to wrap some of them either in a coroutine or a spawnfunction().
But the debris service doesn’t need to be defined if you use game.Debris:AddItem()