so the bullet line does appear but in this image
when i shoot up or down, the bullet line doesn’t go up or down and only shoots in the middle
heres the script (its in serverside)
script.Parent.Shoot.OnServerEvent:Connect(function(player, mousePosition)
script.Parent.Handle.larrel.SurfaceLight.Enabled = true
script.Parent.Handle.larrel.ParticleEmitter.Enabled = true
script.Parent.Handle.theslidle.Transparency = 1
script.Parent.Handle.theslidle2.Transparency = 0
local bulletlinecloe = bulletline:Clone()
bulletlinecloe.Position = tool.Handle.larrel.Position
bulletlinecloe.Parent = workspace
bulletlinecloe.CFrame = tool.Handle.CFrame * CFrame.Angles(0, math.rad(180),0)
bulletlinecloe.CFrame = tool.Handle.CFrame * CFrame.new(0,0,-22)
script.Parent.Handle.Barrel[“Gun shot”]:Play()
wait(0.2)
bulletlinecloe:Destroy()
script.Parent.Handle.theslidle.Transparency = 0
script.Parent.Handle.theslidle2.Transparency = 1
script.Parent.Handle.larrel.SurfaceLight.Enabled = false
script.Parent.Handle.larrel.ParticleEmitter.Enabled = false
print(“it works”)
local part = Instance.new(“Part”)
part.Position = tool.Handle.buletcome.Position
part.Size = Vector3.new(0.052, 0.044, 0.17)
part.CFrame = tool.Handle.CFrame * CFrame.Angles(0, math.rad(90), 0)
part.Parent = workspace
part.CanCollide = true
part.BrickColor = BrickColor.new(“Bronze”)
part.Material = Enum.Material.Metal
wait(4)
part:Destroy()
end)


