What do you want to achieve?
i want the player to teleport to a location and play the animation upon using the proxmity prompt
What is the issue?
the cframe doesnt teleport the player to the intended loaction but to other loaction
What solutions have you tried so far?
trying to make a position part but didnt work
local anime = Instance.new("Animation")
anime.AnimationId = "rbxassetid://6996686813"
playanim = player.Character.Humanoid:LoadAnimation(anime)
knife.Parent = player.Character
player.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(playercuttingpoint.Position))
player.Character.HumanoidRootPart.CFrame = CFrame.lookAt(Vector3.new(playercuttingpoint.Position - Vector3.new(0,2,0),Vector3.new(cutting.Position)))
player.Character.Humanoid.WalkSpeed = 0
for index , value in ipairs(tableknife) do
if value:IsA("Part") or value:IsA("WedgePart") then
value.Transparency = 1