I’m making a lightsaber fighting game, and I’m trying to offset the blade from the handle after welding them together.
For some reason, the offset code I have (line 11) doesn’t do anything.
Any help is greatly appreciated.
This is my code:
wait()
local lightsaberBlade = workspace["Lightsaber Blade"]:Clone()
lightsaberBlade.Name = game.Players.LocalPlayer.Name.."'s Lightsaber Blade"
lightsaberBlade.Parent = workspace
local lightsaberWeld = Instance.new("Weld")
lightsaberWeld.Parent = workspace
lightsaberWeld.Part0 = lightsaberBlade
lightsaberWeld.Part1 = game.Players.LocalPlayer.Backpack.Lightsaber.Handle
lightsaberBlade.CFrame = CFrame.new(lightsaberBlade.Position) + Vector3.new(0, 10, 0)