Basically I'm trying to make it teleport +50, 0, -30. I'm relatively new to coding and somebody tried to help me here but I don't quite get what's going on in the selection with asterisks surrounding it, nor how to fix it.
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
Mouse.KeyDown:connect(function(Key)
Key = Key:lower()
if Key == 'e' then
**local humroot = character:FindFirstChild("HumanoidRootPart")
local x, y, z, r00, r01, r02, r10, r11, r12, r20, r21, r22 = humroot.CFrame:Components()
humroot.CFrame = CFrame.new(x + 50, y, z - 30, r00, r01, r02, r10, r11, r12, r20, r21, r22)**
end
end)
