so from my last questions yesterday i was making a titan shift thing from the anime aot. those were just to help me to make a prototype thing to see if i like and i did, but i now will try and improve it. im doing it like other games where it clones a titan model and the character teleports into the nape of the neck. idk if what im trying will put it in the neck but what ever. so while im trying to make the titan clone and teleport to the character, i got and error saying bad argument #3 (Vector3 expected, got Object) here is my script:
local titan = game.ReplicatedStorage:WaitForChild("titan"):Clone()
game.ReplicatedStorage.titanshifted.OnServerEvent:Connect(function(player)
wait(3)
script.Parent.transform:Play()
game.Workspace:FindFirstChild(player.name).HumanoidRootPart.Position = game.Workspace:FindFirstChild(player.name).HumanoidRootPart.Position + Vector3.new(0,25,0)
titan.Head.Position = game.Workspace:FindFirstChild(player.name).HumanoidRootPart
end)
line 7
sorry if their were spelling mistakes

3 comments
At line 7 remember to write titan.Head.Position = Vector3.new
all you need to do it add a .Position to the end of line 7
it gave no errors but it wont teleport