-
What do you want to achieve? Keep it simple and clear!
I am making a grab tool which you can grab player with it -
What is the issue? Include screenshots / videos if possible!
I have succesfully make it so that when the player use the tool it grab a player and weld it on to the right arm but the issue is that I want to offset the position where the enemy’s humanoidrootpart is welded to the right arm to be a bit lower and make the enemy’[s humanoidrootpart rotate a bit but It doesn’t work for some reason, here’s the script
ThrowRemote.OnServerEvent:Connect(function(Player, EnemyChar)
local Char = Player.Character
local RightArm = Char:FindFirstChild("Right Arm")
local Hum = Char:FindFirstChild("Humanoid")
local HumRP = Char:FindFirstChild("HumanoidRootPart")
local CharValue = Char:FindFirstChild("CharValue")
local EnemyHum = EnemyChar:FindFirstChild("Humanoid")
EnemyHum.PlatformStand = true
EnemyChar.PrimaryPart.CFrame = RightArm.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90),0,0)
local Weld = Instance.new("Weld")
Weld.Part0 = RightArm
Weld.Part1 = EnemyChar.PrimaryPart
Weld.Parent = RightArm
print("Throw "..EnemyChar.Name)
wait(3)
--Weld:Destroy()
CharValue.Value = nil
--EnemyHum.PlatformStand = false
end)
as you can see in the picture I want to lower the enemy position and make it rotate to be sideway