Hi,
Im doing atm a tiny gun system and I just cant complete it to change the Position of the Bullet infront of the Weapon. There’s no error or sth, the Bullet just is nowhere.
Here’s the script:
local Bullet = script.Parent.Bullet
local rep = game:GetService("ReplicatedStorage"):FindFirstChild("FireEvent")
rep.OnServerEvent:Connect(function(plr)
local Weapon = plr:WaitForChild("Blaster")
local newBullet = Bullet:Clone()
newBullet.Anchored = false
newBullet.Position = Vector3.new(Weapon.Position.X + 5, Weapon.Position.Y, Weapon.Position.Z)
end)