I'm trying to make the beam appear in front of the right hand, I tried using lookVector but that didn't work no matter how many times I rearranged the script
local InputService = game:GetService("UserInputService") local player = game.Players.LocalPlayer local righthand = player.Character.RightHand InputService.InputBegan:Connect(function(Keycode) if Keycode.KeyCode == Enum.KeyCode.R then local Beam = Instance.new("Part") Beam.Anchored = false Beam.CFrame = righthand.CFrame Beam.Parent = game.Workspace Beam.BrickColor = BrickColor.new("Bright orange") Beam.Size = Vector3.new(3,3,10) Beam.Material = Enum.Material.Neon Beam.CanCollide = false Beam.Massless = true local weld = Instance.new("Weld") weld.Part0 = righthand weld.Part1 = Beam weld.C0 = righthand.CFrame:Inverse() weld.C1 = Beam.CFrame:Inverse() weld.Parent = Beam end end)