so i made this script where you press a key and you create weld but their are two funtions and each key changes the position of the part being welded
tool.Equipped:connect(function(mouse)
mouse.KeyDown:connect(function(key)
if key == "e" then
local hhh = tool.hhh
local www = tool.www
local sss = tool.sss
local qqq = tool.qqq
local fff = tool.fff
local ww2 = tool.ww2
local ss2 = tool.ss2
local qq2 = tool.qq2
local ff2 = tool.ff2
local player = game.Players.LocalPlayer
hhh.Anchored = false
fff.Transparency = 0
hhh.Transparency = 0
www.Transparency = 0
sss.Transparency = 0
qqq.Transparency = 0
ww2.Transparency = 0
ss2.Transparency = 0
qq2.Transparency = 0
ff2.Transparency = 0
fff.CanCollide = false
fff.Anchored = false
local weldd = Instance.new("Weld",fff)
weldd.Part0 = player.Character.Torso
weldd.Part1 = fff
weldd.C1 = CFrame.new(4,-3,3)
wait()
weldd.C1 = CFrame.new(-1.80, -3.60, 1.88)
end
end)
end)
