I have this script:
i = 0
bullet = game.ServerStorage.caliberMark45GunBullet
while i == 0 do
local clone = bullet:Clone()
clone.Parent = workspace
clone.SetPrimaryPartCFrame(CFrame.new(script.Parent.Orientation.X - 0.374, script.Parent.Orientation.Y, script.Parent.Orientation.Z - 4.284))
i = 1
end
Does anybody know why instead of making a bullet in front of this part, it teleports all models around the model this part is in?

3 comments
Thank you!
I have tried this:
i = 0 bullet = game.ServerStorage.caliberMark45GunBullet while i == 0 do local clone = bullet:Clone() clone.Parent = workspace clone.Part.CFrame = CFrame.new(script.Parent.Orientation.X - 0.374, script.Parent.Orientation.Y, script.Parent.Orientation.Z - 4.284) i = 1 endbut it still teleports all models to this part. Why?Are all parts welded to eachother? If yes unweld. Also do you only need the part or the entire model