For some reason I can’t fix this problem where the guns bullet shoots far from
its original position.
Is there anyway to fix this?
Bullet.Parent = workspace.Terrain
Bullet.CFrame = Handle.SHOOTPART.CFrame
for i = 0,75 do
task.wait()
Bullet.CFrame += Bullet.CFrame.LookVector * 5
end
Debris:AddItem(Bullet)
is that what it says? I may have fixed the link now. I also moved the shootframe to the back but I don’t feel comfortable with it looking like that and it has a big boundrybox.
while task.wait(1) do
spawn(function()
local Bullet = game.ServerStorage.MarineStuff.Bullet:Clone()
Bullet.Parent = workspace.Terrain
Bullet.CFrame = Handle.SHOOTPART.CFrame
task.wait(.5)-- Added wait here, it seems that it went to the other line for anybody to see
for i = 0,75 do
task.wait()
Bullet.CFrame += Bullet.CFrame.LookVector * 5
end
Debris:AddItem(Bullet)
end)
end