local part = script.Parent function move(onTouch) if part.CFrame == (-22.467, 7.1, 61.213) then part.CFrame * part.CFrame.new(10, 10, 10) end end part.Touched:connect(move)
I'm getting an output error "Workspace.Part.Script:4: ')' expected near ','" the comma it's talking about it the one after 22.467.
You should use position for this eg.
local part = script.Parent function move(onTouch) if part.Position == (-22.467, 7.1, 61.213) then part.Position = (part.Position * Vector3.new(10, 10, 10)) end end part.Touched:connect(move)
Hope this helps