remote.OnServerEvent:Connect(function(Player, active, mp, charge)
local char = Player.Character
local Hand = char:FindFirstChild("RightLowerArm")
if not active then
local Humanoid = char:WaitForChild("Humanoid")
local anim = Humanoid:LoadAnimation(script:FindFirstChild("id"))
anim:Play()
local pos1 = mp
while charge do
Player.Character.HumanoidRootPart.CFrame =CFrame.new(Player.Character.HumanoidRootPart.Position,pos1)
wait()
end
anim:Stop()
end
end)
help, im trying to find a solution for this but it doesn't seem to work, i changed it to vector3 and it tells me again got vector3 expected cframe

2 comments
Cframe.new(0,0,0) must contain Vector3
'Player.Character.HumanoidRootPart.Position' is a Vector3 already, what's that pos1 for?